auth.getToken [HTTP GET]
Retrieve a token from the site, after the user has given your app an authentication Frob.
See the
Token-based authentication page for details.
Arguments
api_key (Required)
Your API application key. If you don't have one,
create one.
frob (Required)
The frob passed back to your application.
Example Response
<?xml version="1.0" encoding="UTF-8"?>
<rsp stat="ok" version="1.0">
<token token="<40 Digit Token>" user_id="674" user_username="getluky" user_name="Gordon Luk"/>
</rsp>
Error Codes (sent in HTTP Response Header)
404 Not Found:
- Missing valid frob - The api_key and frob pair that you passed was not found, or has expired. Please send the user back to the authorization URL to get a new frob.