Hi all,
I have used the xAuth system to get myself this HTTP response:

HTTP/1.1 200 OK
(Clipped lots of other headers)

oauth_token=17396968-
lorGbfmR4dJpPi98HXXXXXX4wEaFUoWRAsQJ1hem&oauth_token_secret=BQ6nHHB0jMNnYNXXXXXXK2RQh5JgMV20aL9a7E&user_id=17396968&screen_name=garrytaylor&x_auth_expires=0

OK, I guess I need to use at least part of this to sign my POST
requests for a status update, but I'm feeling pretty stupid at the
moment, and I'm not sure what to use. I've got the POST body like
this:

POST&http%3A%2F%2Ftwitter.com%2Fstatuses
%2Fupdate.xml&oauth_consumer_key%3Dwd0XXXXXX6G9m9O7OYRg%26oauth_nonce
%3De68644aad6fd745d5022%26oauth_signature_method%3DHMAC-
SHA1%26oauth_timestamp%3D1283866974%26oauth_token%3D17396968-
lorGbfmR4dJpPXXXXXynjp4wEaFUoWRAsQJ1hem%26oauth_version%3D1.0%26source
%3Dsndtweet%26status%3DTest%2520from%2520OAuth

And signing it with

CONSUMERSECRETKEY+"&"+oauth_token_secret

Is that even vaguely correct?

The OAuth tester is awesome, but I'm not sure if I'm even signing the
right stuff with the right thing at the moment...

Thanks a lot in advance...

Garry

-- 
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?hl=en

Reply via email to