oauth.requestToken
Description:
Retrieves an Unauthorized Request Token. It is the first step of an OAuth process (see Playme OAuth)
Authentication : NOT REQUIRED
Parameters:
apikey : application developer identifier [R]
country : catalogue country
format : output format
oauth_consumer_key: The Consumer Key, i.e. your apikey. [R]
oauth_signature_method: The signature method the Consumer used to sign the request (set this to
oauth_signature: The signature as defined in OAuth specs. [R]
oauth_timestamp: A timestamp s defined in OAuth specs. [R]
oauth_nonce: A nonce as defined in OAuth specs.
oauth_version: OAuth version. If present, value MUST be
oauth_callback: An absolute URL to which the Service Provider will redirect the User back when the Obtaining User Authorization step is completed. [R]
country : catalogue country
format : output format
oauth_consumer_key: The Consumer Key, i.e. your apikey. [R]
oauth_signature_method: The signature method the Consumer used to sign the request (set this to
HMAC-SHA1). [R]oauth_signature: The signature as defined in OAuth specs. [R]
oauth_timestamp: A timestamp s defined in OAuth specs. [R]
oauth_nonce: A nonce as defined in OAuth specs.
oauth_version: OAuth version. If present, value MUST be
1.0 [O].oauth_callback: An absolute URL to which the Service Provider will redirect the User back when the Obtaining User Authorization step is completed. [R]
Return values:
An Unauthorized Request Token and a token secret
Sample call
oauth.requestToken?format=xml&apikey=w577525t5943534954&oauth_consumer_key=w577525t5943534954&oauth_signature_method=HMAC-SHA1&oauth_version=1.0&oauth_callback=http://www.mysite.com/callback.php&oauth_timestamp=1260359012&oauth_nonce=0a8227u4ay&oauth_signature=OGFlNTQ5M2JkYjkxMDc2NjAzNjYyZjU1NDk3MjM0NmI5YjdiZDgxOQ==
Sample Result: XML
<?xml version="1.0" encoding="UTF-8"?> <response> <oauth_token>991098660323c76c9f5ef5b6f5507ff704b1f8d64</oauth_token> <oauth_token_secret>d7c0e844f5112bfc42ed7f1dc8045eef</oauth_token_secret> <oauth_callback_confirmed>1</oauth_callback_confirmed> </response>
Sample Result: JSON
{ "response" : {
"oauth_token" : "9fabbdaa4e48c056e22f3784ed679f4504b1f8e00",
"oauth_token_secret" : "bff316eb2ca3ddf363698f2c5e46b2ae",
"oauth_callback_confirmed" : "1"
}
} 
LOG IN