A class to store essential variables needed for making successful 3-Legged Authorisation requests to existing FatSecret users
ConsumerKeycharacter string of your FatSecret REST API Comsumer Key
SharedSecretcharacter string of your FatSecret REST API Shared Secret
oauth_consumercharacter of the oauth_consumer parameter
RequestURLhttp://www.fatsecret.com/oauth/request_token
AccessURLhttp://www.fatsecret.com/oauth/access_token
AuthURLhttp://www.fatsecret.com/oauth/authorize
httpMethodGET
signatureMethodoauth_signature_method=HMAC-SHA1
oauthVersionoauth_version=1.0
timestampa character of POSIX timestamp
noncea randomly generated 6-digit alpha-numeric string
oauth_callbackthe 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_tokena character string of the user request token generated in Step-1 of the 3-Legged Authentication process
request_secreta character string of the user request secret generated in Step-1 of the 3-Legged Authentication process
user_request_urlan authorisation request URL
user_tokenthe oauth_token parameter for a user
user_secretthe 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.