The oauth_verifier should be sent to the service provider when
requesting an access token, like this:
client.getAccessToken(oAuthAccessor, null,
OAuth.newList("oauth_verifier", params.getString("oauth_verifier"));
On Sep 7, 1:52 am, stager0909 <[email protected]> wrote:
> I want to get yahoo contact. So I obtain request_token and user login.
> But I fail to get access token
> ...
> public void obtainAccessToken() throws IOException,
> net.oauth.OAuthException, URISyntaxException {
> try {
> oAuthAccessor.setProperty("oauth_verifier",
> params.getString("oauth_verifier"));
> client.getAccessToken(oAuthAccessor, null, null);
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"OAuth" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/oauth?hl=en
-~----------~----~----~----~------~----~------~--~---