oauth.authorize

Description: 

Allows the user to authorize a Request Token, previously issued by oauth.requestToken API . It is the second step of an OAuth process (see Playme OAuth).
 
This API behaviour differs from other API's as it results not in an xml or json data set, but in a redirect to the callback URL the consumer have supplied the oauth.requestToken API with.
Output data appears as query string in the callback URI:

...&oauth_token=Uhojsf97H&oauth_verifier=8ufhj4&token=%26_PONY=78kO9lO6yh&oauth_callback=http%3A%2F%2Fwww.mysite.com%2Fcallback.php...

Note that:


Authentication : NOT REQUIRED
Parameters: 
apikey : application developer identifier [R]
country : catalogue country
format : output format
oauth_token: The Request Token the User is going to authorize or deny [R].

Return values: 

oauth_token: The Request Token the User authorized or denied.
oauth_verifier: The verification code.
token : the API User Autentication Token, i.e. the token to supply to API that require User authentication. The value is urlencoded.


Sample call
http://api.playme.com/oauth.authorize?apikey=7577a254s9437349e4&country=us&oauth_token=065f959c455dacb29a8a0c86b9314e3204b1fa670

Sample Result: XML
Not available

Sample Result: JSON
Not available