Description
Login into Survey Monkey to generate an OAuth 2.0 token
Usage
smlogin(client_id = getOption('sm_client_id'),
api_key = getOption('sm_api_key'),
secret = getOption('sm_secret'),
redirect_uri = 'http://localhost:1410',
response_type='code')Arguments
client_id
Your Mashable developer account username. By default, retrieved from getOption('sm_client_id').
api_key
Your API key. By default, retrieved from getOption('sm_api_key').
secret
Your API secret key. By default, retrieved from getOption('sm_secret').
redirect_uri
Default value is “http://localhost:1410”. No other value is allowed. This must be the redirect URL registered for your application in your Survey Monkey developer account.
response_type
Default value is “code”. No other values are allowed.
Value
An OAuth 2.0 token object as returned by oauth2.0_token.
Details
Initiate an interactive OAuth 2.0 authentication process by logging into Survey Monkey via a web browser.