Hello there,
Here are a few things you can try:
* You shouldn't need the oauth_token parameter when requesting a
request token, so you can remove that.
* Make sure the oauth_nonce is a unique value (though we have a
specific error message for that).
* Also, always helpful, is letting us know what language, library
and version you are using (if any).
Thanks;
– Matt Sanford / @mzsanford
Twitter Dev
On Jun 25, 2009, at 8:50 AM, goodtest wrote:
Hi,
I am trying to follow the instructions of how to authenticate using
oauth, but for some reason, when i try to get request_token, I get
failed to validate signature and token. I am not sure what I am
missing, can someone please take a second look at the following and
let me know is missing?
URL thats constructed:
GET&http://twitter.com/oauth/
request_token
&oauth_consumer_key
=
Xz2BKOKObTzpLrMXxJo2ww
&oauth_nonce=blabla123&oauth_signature_method=HMAC-
SHA1&oauth_token=&oauth_timestamp=1245887955090&oauth_version=1.0
URL after encoding and adding oauth_signature
http%3A%2F%2Ftwitter.com%2Foauth%2Frequest_token%3Foauth_consumer_key
%3DXz2BKOKObTzpLrMXxJo2ww%26oauth_nonce
%3Dblabla123%26oauth_signature_method%3DHMAC-SHA1%26oauth_token%3D
%26oauth_timestamp%3D1245887955090%26oauth_version
%3D1.0%26oauth_signature%3D6odQgPJ5o%2FAuOIw0gt8CknlHIcc%3D
Failed to validate oauth signature and token