smugmug.auth.getRequestToken 1.2.2

smugmug.auth.getRequestToken

Retrieves an OAuth request token.

An OAuth compliant endpoint is available http://api.smugmug.com/services/oauth/getRequestToken.mg

Arguments

  • oauth_consumer_key string
  • oauth_nonce string
  • oauth_signature string
  • oauth_signature_method string
  • oauth_timestamp string
  • oauth_version string (optional)
  • Pretty boolean (optional)

Response

  • Auth struct
    • Token struct
      • id string
      • Secret string

Fault Codes

  • 17 - "invalid method (invalid non-OAuth method)"
  • 22 - "missing required parameter"
  • 30 - "expired timestamp"
  • 31 - "invalid consumer key"
  • 33 - "invalid/used nonce"
  • 35 - "invalid signature"
  • 37 - "unsupported signature method"
  • 38 - "unsupported version"
  • 99 - "read-only mode"

Sample Responses

REST


JSON


PHP


XML-RPC



Browse Space

- Pages
- News
- Labels
- Attachments
- Mail
- Bookmarks
- Advanced

Explore Confluence

- Popular Labels
- Notation Guide

Your Account

Log In

 

Other Features

Add Content