Discussions
Access Token
almost 5 years ago by mike
Following:
Step 3 - Exchange authorization code for an access token
Now that you have an authorization code, exchange it for an access token using the oauth/token API method: https://api.hikeup.com/oauth/token
client_id - issued when you created your app (required)
client_secret - issued when you created your app (required) [App secret]
code - Temporary authorization code received in step 2 (required)
redirect_uri - must match the originally submitted URI (if one was sent)
grant_type - this is always 'authorization_code'
Gives error:
Server Error in '/' Application.
Value cannot be null.
Parameter name: source