Could not authenticate you Error in Twitter API v1.1


#1

I tried to verify that my application is still allowed by the user in Twitter. However, I keep on getting “Could not authenticate you” : 32. I tried looking for the same problems in the discussions but I still cannot find the solution.

Here are some of the details :

https://api.twitter.com/1.1/account/verify_credentials.json?oauth_consumer_key=xxx&oauth_nonce=KisSakukuK&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1374092170&oauth_version=1.0&oauth_token=xxx

The oauth_token is the one I saved in the database which is the data I retrieved after Twitter Login in my application.

Please help me. Should there be a detailed instructions to make this fully functional, I would greatly appreciate.

Thank you.


#2

When you’re making this request, are you also including an oauth_signature value, computed from the various parameters and signed with your consumer secret? I also recommend using HTTP headers to communicate OAuth parameters – it separates concerns. Check out [node:204].