I am trying to use Twitter OAuth and my POST
requests are failing with a 401
(Invalid OAuth Request
) error.
For example, if I want to post a new status update, I am sending a HTTP POST
request to https://twitter.com/statuses/update.json
with the following parameters -
status=Testing&oauth_version=1.0&oauth_token=xxx&
oauth_nonce=xxx&oauth_timestamp=xxx&oauth_signature=xxx&
oauth_consumer_key=xxx&in_reply_to=xxx&oauth_signature_method=HMAC-SHA1`
My GET
requests are all working fine. I can see on the mailing lists that a lot of people have had identical problems but I could not find a solution anywhere.
I am using the oauth.py
Python library.