GetOAuthAccessToken
Obtains the OAuth access token to be used for authentication with Twitter. If using a Windows application, set AuthMode to APP. If using a Web App, set AuthMode to WEB and specify the AuthToken, AuthKey, and Verifier returned by GetOAuthAuthorizationUrl.
Input
Name | Type | Description |
AuthMode | String | Enter either APP or WEB. The type of authentication mode to use. Set to APP to get authentication tokens via a Windows app (.exe). Set to WEB to get authentication tokens via a Web app.
The default value is APP. |
AuthToken | String | The authentication token returned by GetOAuthAuthorizationUrl. Required for only the Web AuthMode. |
AuthKey | String | The AuthKey returned by GetOAuthAuthorizationUrl. Required for only the Web AuthMode. |
Verifier | String | The verifier token returned by Twitter after using the URL obtained with GetOAuthAuthorizationURL. Required for only the Web AuthMode. |
State | String | Any value that you wish to be sent with the callback. |
Result Set Columns
Name | Type | Description |
OAuthAccessToken | String | The OAuth access token. |
OAuthAccessTokenSecret | String | The OAuth access token secret. |
ExpiresIn | String | The remaining lifetime on the access token. A -1 denotes that it will not expire. |