[oauth] Re: Keep Getting an Unauthorized Exception

2010-02-18 Thread Yefei
Hi John, Thanks for answering my questions and I did modify my code, i.e, I don't add oauth_token parameter to params and I don't set accessor.requestToken( I suppose this is what you mean), anyways, I still get an Unauthorized exception. 02-18 04:00:44.308: WARN/System.err(352):

[oauth] Re: Keep Getting an Unauthorized Exception

2010-02-13 Thread John Kristian
Don't add an oauth_token parameter to params. OAuthClient.invoke will do that for you. It's not necessary to set accessor.tokenSecret, if you set the accessToken and tokenSecret. In this case, accessor.tokenSecret should be the secret that the service provider sent with the access token. --