Working on just a simple update/status problem.

I'm using the PEAR Services_Twitter object. I keep getting incorrect
signature. I'm not sure if my headers are correct.

Here is my header string:

POST /1/statuses/update.json HTTP/1.1
User-Agent: HTTP_Request2/0.5.2 (http://pear.php.net/package/
http_request2) PHP/5.2.14
Authorization: OAuth realm="https://api.twitter.com/";,
oauth_consumer_key="xxxxxxx",
oauth_nonce="61ea77d3bddddc58d23f4cc073c7bb40",
oauth_signature="%2BI99Du4e8ASC4%2BLNR1l3wRqoo6U%3D",
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1286753476",
oauth_token="xxxxxxxxxxxx", oauth_version="1.0"
Content-Type: application/x-www-form-urlencoded
Host: api.twitter.com
Accept-Encoding: gzip, deflate
Content-Length: 21

Here is the body

status=dingle%20berry

If someone can put a finger on what I'm doing wrong it would be much
appreciated.

Kudos and Bullion Thanks!!!!

-- 
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: 
http://groups.google.com/group/twitter-development-talk

Reply via email to