class FlickRaw::Flickr::Auth::Oauth

Public Instance Methods

checkToken(:oauth_token => 'oauth_token') click to toggle source

flickr.auth.oauth.checkToken request.

Returns the credentials attached to an OAuth authentication token.

Arguments

oauth_token (required)

The OAuth authentication token to check.

Error codes

  • 96: Invalid signature

    The passed signature was invalid.

  • 97: Missing signature

    The call required signing but no signature was sent.

  • 100: Invalid API Key

    The API key passed was not valid or has expired.

  • 105: Service currently unavailable

    The requested service is temporarily unavailable.

  • 106: Write operation failed

    The requested operation failed due to a temporary issue.

  • 111: Format “xxx” not found

    The requested response format was not found.

  • 112: Method “xxx” not found

    The requested method was not found.

  • 114: Invalid SOAP envelope

    The SOAP envelope send in the request could not be parsed.

  • 115: Invalid XML-RPC Method Call

    The XML-RPC request document could not be parsed.

  • 116: Bad URL found

    One or more arguments contained a URL that has been used for abuse on Flickr.

Returns

72157627611980735-09e87c3024f733dawrite
# Generated automatically from flickr api
  def checkToken(*args)
    @flickr.call 'flickr.auth.oauth.checkToken', *args
  end
getAccessToken() click to toggle source

flickr.auth.oauth.getAccessToken request.

Exchange an auth token from the old Authentication API, to an OAuth access token. Calling this method will delete the auth token used to make the request.

Arguments

Error codes

  • 96: Invalid signature

    The passed signature was invalid.

  • 97: Missing signature

    The call required signing but no signature was sent.

  • 100: Invalid API Key

    The API key passed was not valid or has expired.

  • 105: Service currently unavailable

    The requested service is temporarily unavailable.

  • 106: Write operation failed

    The requested operation failed due to a temporary issue.

  • 111: Format “xxx” not found

    The requested response format was not found.

  • 112: Method “xxx” not found

    The requested method was not found.

  • 114: Invalid SOAP envelope

    The SOAP envelope send in the request could not be parsed.

  • 115: Invalid XML-RPC Method Call

    The XML-RPC request document could not be parsed.

  • 116: Bad URL found

    One or more arguments contained a URL that has been used for abuse on Flickr.

Returns

# Generated automatically from flickr api
  def getAccessToken(*args)
    @flickr.call 'flickr.auth.oauth.getAccessToken', *args
  end