Gets an authentication token from Facebook.
|AuthMode||String|| The type of authentication mode to use. Select App for getting authentication tokens via a windows forms app. Select Web for getting authentication tokens via a web app.
The allowed values are APP, WEB.
The default value is APP.
|Scope||String||A comma-separated scope of permissions to request from the user. Please check the Facebook API for scope of available permissions. Permissions that may be required depending on your use case are: read_insights,pages_manage_ads,pages_manage_metadata,pages_read_engagement,ads_read,business_management.|
|CallbackUrl||String||The URL the user will be redirected to after authorizing your application. This value must match the Site URL and App Domain you have specified in the Facebook app settings. Only needed when the Authmode parameter is Web.|
|Verifier||String||The verifier returned from Facebook after the user has authorized your app to have access to their data. This value will be returned as a parameter to the callback URL in GetAuthURL.|
|AuthType||String||An optional parameter to pass Facebook. Set the value to rerequest to request the same scope of permissions again if the user declined some of them.|
|State||String||Any value that you wish to be sent with the callback.|
Result Set Columns
|OAuthAccessToken||String||The access token used for communication with Facebook.|
|ExpiresIn||String||The remaining lifetime on the access token. A -1 denotes that it will not expire.|