A class to store essential variables needed for making successful 3-Legged Authorisation requests to existing FatSecret users
ConsumerKey
character string of your FatSecret REST API Comsumer Key
SharedSecret
character string of your FatSecret REST API Shared Secret
oauth_consumer
character of the oauth_consumer
parameter
RequestURL
http://www.fatsecret.com/oauth/request_token
AccessURL
http://www.fatsecret.com/oauth/access_token
AuthURL
http://www.fatsecret.com/oauth/authorize
httpMethod
GET
signatureMethod
oauth_signature_method=HMAC-SHA1
oauthVersion
oauth_version=1.0
timestamp
a character of POSIX timestamp
nonce
a randomly generated 6-digit alpha-numeric string
oauth_callback
the method for authentication callback. If unable to recieve URL callbacks, set to oob. Otherwise
oauth_callback
should be the absolute URL of your callback url
request_token
a character string of the user request token generated in Step-1 of the 3-Legged Authentication process
request_secret
a character string of the user request secret generated in Step-1 of the 3-Legged Authentication process
user_request_url
an authorisation request URL
user_token
the oauth_token
parameter for a user
user_secret
the oauth_secret
parameter for a user
Tom Wilson tpw2@aber.ac.uk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.