| Please note: We are in the process of deprecating the REST API. Please use OAuth 2.0 moving forward. We will not be supporting this method in the Graph API. |
Creates an auth_token to be passed in as a parameter to login.php and then to auth.getSession after the user has logged in. The user must log in soon after you create this token.
| Name | Type | Description |
|---|---|---|
| callback | string | Name of a function to call. This is primarily to enable cross-domain JavaScript requests using the <script> tag, also known as JSONP, and works with both the XML and JSON formats. The function will be called with the response passed as the parameter. |