fatsecret3L-class: fatsecret3L

Description Slots Author(s)

Description

A class to store essential variables needed for making successful 3-Legged Authorisation requests to existing FatSecret users

Slots

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

Author(s)

Tom Wilson tpw2@aber.ac.uk


wilsontom/fatsecretR documentation built on May 4, 2019, 6:28 a.m.