ver. 1958 (4e4db56) services/apiref services/apisrv services/attrs services/caches services/caches/formatters services/caches/map services/caches/search services/caches/shortcuts services/logs services/logs/images services/oauth services/replicate services/users |
Get a new unauthorized OAuth Request Token
|
|
||||
http://ocpl.stefo.pl/okapi/services/oauth/request_token | ||||
Get a new unauthorized OAuth Request Token. This token is bound to the Consumer it was issued to. It has a short expiration date and can be used in one way only - first it has to get authorized by the user, then it has to be exchanged for an Access Token. |
||||
oauth_callback | required |
URL which you want a User to be redirected to after a successful Request Token Authorization (see "authorize" method). If the client is unable to receive callbacks, the parameter must be set to "oob", OKAPI will provide a user with a PIN code (oauth_verifier) in this case. Consult OAuth 1.0a documentation for details. |
||
Plus required standard OAuth Consumer signing arguments: oauth_consumer_key, oauth_nonce, oauth_timestamp, oauth_signature, oauth_signature_method, oauth_version. | ||||
Returned value: Standard OAuth 1.0a Token response - a string in a form-encoded format: oauth_token=...&oauth_token_secret=...&oauth_callback_confirmed=true You must be prepared that there might be more parameters returned in the future (you should ignore them gracefully). |