Failed to validate oauth signature and token


#1

I was trying to implement a sign in with twitter flow and get staked at the 1st step:

Obtaining a request token
POST /oauth/request_token

here you have the cURL that I was using:

curl --request ‘POST’ ‘https://api.twitter.com/oauth/request_token’ --header ‘OAuth oauth_consumer_key=“OeJIIoP56IKMfnDeCYcT5g”, oauth_nonce=“268391730”, oauth_signature_method=“HMAC-SHA1”, oauth_timestamp=“1376657878”, oauth_version=“1.0”, oauth_signature=“aTwJNJuFtRfHRQsdLqbiWImSZJM%3D”’ --verbose

and always get a “Failed to validate oauth signature and token” as response.

Anyone can help me?


#2

Take a look at some of the tips in [node:204]. They might help you debug a bit better.