Hello! I started getting 401 'count not authenticate' errors starting
about 2 days ago when I try to send tweet via API.
I use OAuth, use php pecl OAuth for that, just like I did before. The
last tweet was successfully posted from my website was 2 days ago

Here are the headers from the debug (I changed the values of my token/
secret here for security)

[headers_sent] => POST /1/statuses/update.json HTTP/1.1

User-Agent: PECL-OAuth/1.0-dev

Host: api.twitter.com

Accept: */*

Content-Length: 249

Content-Type: application/x-www-form-urlencoded


And this is the received headers from API:

[headers_recv] => HTTP/1.1 401 Unauthorized

Date: Fri, 27 Aug 2010 20:30:46 GMT

Server: hi

Status: 401 Unauthorized

WWW-Authenticate: Basic realm="Twitter API"

X-Runtime: 0.00273

Content-Type: application/json; charset=utf-8

Content-Length: 75

Cache-Control: no-cache, max-age=300

Set-Cookie: k=; path=/; expires=Fri, 03-
Sep-10 20:30:46 GMT; domain=.twitter.com

Set-Cookie: guest_id=128294104644479603; path=/; expires=Sun, 26 Sep
2010 20:30:46 GMT

domain=.twitter.com; path=/

Expires: Fri, 27 Aug 2010 20:35:46 GMT

Vary: Accept-Encoding

Connection: close
            [body_recv] => {"request":"/1/statuses/
update.json","error":"Could not authenticate you."}

Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 

Reply via email to