0

Refresh Access Token in Java?

Has anyone here got the Refresh Access Token phase of the Yahoo OAuth flow to work in any of the Java OAuth libraries? I've been struggling for days to try to get it to work with SignPost, but I just don't seem to be able to get it.

Getting the request token, authorizing it, getting the access token, and *using* the access token with the yahoo API's has all been pretty easy, but for some reason I can't figure out how to put together a request in SignPost to refresh my access token.

Alternatively, does anyone have any experience using a different Java OAuth library with Yahoo?

by
2 Replies
  • QUOTE (Bob @ May 10 2010, 07:07 PM) <{POST_SNAPBACK}>
    Getting the request token, authorizing it, getting the access token, and *using* the access token with the yahoo API's has all been pretty easy, but for some reason I can't figure out how to put together a request in SignPost to refresh my access token.


    Sorry, I don't have the solution to your problem.
    I'm stuck one step before you. Every time I try using the access token, I get the following error : "Please provide valid credentials"

    would you mind sharing the java code you use to sign your requests ?

    Thanks,
    Alain
    0
  • There are other Java libraries for OAuth
    http://oauth.net/code/

    Probably you can check their code to see how to sign the request
    in Java?

    Thanks,
    Yu Wang
    Yahoo! Membership Team
    0

Recent Posts

in OAuth General Discussion YDN SDKs