Hi Yefei,
Make sure that you have your key cache updated with valid consumer key
and secret of the consumer in your back end.
On Thu, Feb 18, 2010 at 2:40 PM, Yefei wrote:
> Hi John,
>
> Thanks for answering my questions and I did modify my code, i.e, I
> don't add oauth_token parameter
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):
net.oauth.OAut
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.
--
Yo