I’m also having the same issue failed to tweet. Adding the Content-Type: application/x-www-form-urlencoded header will cause a {“errors”:[{“message”:“Could not authenticate you”,“code”:32}]}.
===request===
POST https://api.twitter.com/1.1/statuses/update.json HTTP/1.1
Authorization: OAuth oauth_consumer_key=“iZK5PTMB35Kq4Yc6vcemZw”, oauth_nonce=“e6b569107f7771739b0c9aa290635d35”, oauth_signature=“sw7R1h5Q4MVdyM76XchYpJc16bY%3D”, oauth_signature_method=“HMAC-SHA1”, oauth_timestamp=“1354238620”, oauth_token=“979339014-SoyWtkAXsAgyLDssNXL1SgMHj5Ez5sZvLDDQsT3K”, oauth_version="1.0"
Host: api.twitter.com
Content-Length: 25
Expect: 100-continue
Connection: Keep-Alive
status=aaaaaaaaaaaaaaa
===response===
HTTP/1.1 403 Forbidden
Date: Fri, 30 Nov 2012 01:24:59 GMT
Status: 403 Forbidden
X-Transaction-Mask: a6183ffa5f8ca943ff1b53b5644ef114b28557d5
Content-Length: 72
X-Frame-Options: SAMEORIGIN
X-MID: 06628407723f317d097bad95bbcce5f3ccd36ad5
Pragma: no-cache
X-Access-Level: read-write
Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0
X-Transaction: 40294b9f235b7c49
Content-Type: application/json; charset=utf-8
Last-Modified: Fri, 30 Nov 2012 01:24:59 GMT
X-Runtime: 0.03509
Expires: Tue, 31 Mar 1981 05:00:00 GMT
Set-Cookie: k=10.35.64.136.1354238699459986; path=/; expires=Fri, 07-Dec-12 01:24:59 GMT; domain=.twitter.com
Set-Cookie: guest_id=v1%3A135423869946461453; domain=.twitter.com; path=/; expires=Sun, 30-Nov-2014 13:24:59 GMT
Set-Cookie: dnt=1; domain=.twitter.com; path=/; expires=Wed, 30-Nov-2022 13:24:59 GMT
Set-Cookie: pid=; domain=.twitter.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: lang=en; path=/
Set-Cookie: lang=en; path=/
Set-Cookie: lang=en; path=/
Set-Cookie: twid=u%3D979339014%7C5te4iim72CrVxPT8ls7cKk2Xelo%3D; domain=.twitter.com; path=/; secure
Set-Cookie: _twitter_sess=BAh7CToMY3NyZl9pZCIlMjQ4M2E3N2YxZTUwNTQwNjc1YTQxZmRhYjY3NjMy%250AZGY6D2NyZWF0ZWRfYXRsKwjZp%252BpOOwEiCmZsYXNoSUM6J0FjdGlvbkNvbnRy%250Ab2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA6B2lkIiU3MmM2%250AMzY0OGI1MTU0OGZkNDU5NDQ0ZTQ2MGViODZmOQ%253D%253D–b57cd328c4409504c6272a8f78445b42f8bc67c3; domain=.twitter.com; path=/; HttpOnly
Vary: Accept-Encoding
Server: tfe
{“errors”:[{“code”:170,“message”:“Missing required parameter: status”}]}