yahoo - OAuth token rejected error -
i want user profile using oauth. http://developer.yahoo.com/oauth/guide/oauth-auth-flow.html
i have retreived access token , need call yahoo api making request according http://developer.yahoo.com/oauth/guide/oauth-make-request.html#
the request sending is:-
http://social.yahooapis.com/v1/user/kmduy7swwtjox4as3xr47pnlqu/profile?format=json &realm="yahooapis.com" &oauth_consumer_key=my key &oauth_nonce=24829.2331 &oauth_signature_method=plaintext &oauth_timestamp=1219450170 &oauth_token=whole token here &oauth_version=1.0 &auth_signature="consumer secret + token secret"
when sending request giving me error:-
{"error":{"lang":"en-us","description":"please provide valid credentials. oauth oauth_problem=\"token_rejected\", realm=\"yahooapis.com\""}}
thankyou time , consideration.
i having issue while , figured out yahoo! puts a=
@ beginning of of access tokens in response, not part of access token, should sure remove part before responding yahoo!
i hope helps else stumbles upon page in future.
Comments
Post a Comment