0

oauth problem

Hi!

I have a problem doing the oauth in java. I've got my consumer key and my shared secret but when I try to request the token it throws this exception:

Exception in thread "main" oauth.signpost.exception.OAuthExpectationFailedException: Consumer key or secret not set
at oauth.signpost.AbstractOAuthProvider.retrieveToken(AbstractOAuthProvider.java:15
1)
at oauth.signpost.AbstractOAuthProvider.retrieveRequestToken(AbstractOAuthProvider.
java:69)
at com.playence.contacts.yahoo.YahooMail.main(YahooMail.java:143)

Do you nkow what is the problem?

Thanks in advance!

by
1 Reply
  • Hi Xana,

    Without looking at your code, we don't know why consumer key or seret
    is not set. If you are using any Java libraries, you may need to check
    their document on usage.

    Thanks,
    Yu Wang
    Yahoo! Membership Team
    0

Recent Posts

in OAuth General Discussion YDN SDKs