This isn’t quite enough information to help you debug. Have you looked at your signature base string and what’s happening in it for a POST? What library are you using to connect with? Verify that the escaping and ordering of your signature base string is correct.

using jersey client api to connect to twitter.
it worked with twitter API v1 (using content type xml), we now upgrade to twitter API v1.1 (using content type json). i will investigate the signature base string. thanks

I had the same problem and fixed it with reset application’s keys

You need to Generate new Access_token with full right like read ,write and direct message.

To Do This :

  1. Go to Settings >> Application Type >> Select Access Type (Read n Write)

  2. Now Generate new Access_token .This token contain all rights

I am using the same libary by Matt Harris. I have created app, changed to read / write access, regenerated token, put token into code but getting 401 response. Did anyone ever find a fix for this specific library?

I am also facing the same problem. I have created the Authorization Header and it matches the one which can be created through the OAuth Tool. I am trying to fetch the Direct Message but its throwing the 401 Unauthorized error.
The Base URl that I am using is : https://api.twitter.com/1/direct_messages.xml
There is a diffrence in the Timestamp and Nonce but even after syncing it , the error persists.
Help appreciated.

I am not able to post on twitter, i get the error "Twitter post failed: Could not authenticate with OAuth. I have reset all my keys, change access to read and write, even read and write and dierect msg to, what to do i cant understand, i am using prime31 Social networking plugin in unity…

I am not able to post on twitter, i get the error "Twitter post failed: Could not authenticate with OAuth. I have reset all my keys, change access to read and write, even read and write and dierect msg to, what to do i cant understand, i am using prime31 Social networking plugin in unity…

I think i got a solution here. I was using an app and i have generated my Access token and my access token secret from dev.twitter.com.
The issue is, in my opinion, because i already have some credentials for the app i created and im using in the app.