0

Unable to fetch contacts after getting access token

Hi All,

After getting access token and guid , i am sending following request.


http://social.yahooapis.com/v1/user/UMGWPD...09e930e7a945182


It giving response as

{"error":{"lang":"en-US","description":"Please provide valid credentials. OAuth oauth_problem=\"signature_invalid\", realm=\"yahooapis.com\""}}


i am using signature as consumer_secret&token_secret.

I tried with by giving token_secret

as get_request_token response token_secret
and get_token response as well.

But i have no luck.

What is the solution for this.

by
2 Replies
  • Hi,

    Because the Social API is served on HTTP, you have to sign the
    request with HMAC-SHA1. Plaintext mode is not supported because
    your consumer key secret and token secret are sent in the clear.

    Thanks,
    Yu Wang
    0
  • How do I do the HMAC-SHA1 signature? Any example in java? Documentation on yahoo does not help at all.
    0

Recent Posts

in OAuth General Discussion YDN SDKs