Hi

I am  using a curl command similar to the one given below (here I am
using fake data for app_key, app_secret, username, password)

NOTE: new lines are for display purpose only

curl -k
-x 192.168.1.1:8921
-d
"x_auth_username=tomlarry&x_auth_password=tomislarry&x_auth_mode=client_auth"
-H "Authorization: OAuth oauth_consumer_key=\"54df5df4df596561fbGXxhw
\",oauth_nonce=
\"0f8610fa7a83bc52846dab0f01831fa7\",oauth_signature_method=\"HMAC-
SHA1\",oauth_timestamp=\"1268637371\",oauth_version=
\"1.0\",oauth_signature=\"vGfzwDTGguZDKSOUILyLQ4nYh6Q%3D\""
https://api.twitter.com/oauth/access_token

But it gives error "Failed to validate oauth signature and token"

Sample data (all these values are fictitious) that I used for writing
this example is:
username = tomlarry
password = tomislarry
app_key  = 54df5df4df596561fbGXxhw
app_secret = 54jh5k4d5f4f2gjh5tj6j1j656f1g6j1dfghwstjd3
Timestamp = 2010-03-15 07:16:11 (GMT)


Please correct me where I am making mistake.

Reply via email to