views:

62

answers:

1

Hello im tryin to use Twitter with OAuth but i receive this exception

Authorization failed (server replied with a 401). This can happen if the consumer key was not correct or the signatures did not match.

im using this sample http://code.google.com/p/oauth-signpost/wiki/TwitterAndSignpost

Error Line: String authUrl = provider.retrieveRequestToken(consumer, OAuth.OUT_OF_BAND);

A: 

this will not happen only for this reason ::

Authorization failed (server replied with a 401). This can happen if the consumer key was not correct or the signatures did not match.

another reason is ::

your Device date and time are incorrect.

Jorgesys
I don't understand the message said "Authorization failed (server replied with a 401). This can happen if the consumer key was not correct or the signatures did not match." it works, than you