Re: [twitter-dev] Re: POSTing problem

2010-09-15 Thread Taylor Singletary
Spotted some more encoding errors in your example -- on your oauth_token you are encoding the "-" character (both in the base string and your authorization header), which is not a reserved character for these purposes (see http://oauth.net/core/1.0a/#encoding_parameters ) . What library, if any, ar

Re: [twitter-dev] Re: POSTing problem

2010-09-14 Thread Taylor Singletary
MTCoder: You've got a little bit of an escaping problem here.. First, "spaces" aren't valid characters for your POST body. Personally, I recommend using %20 to represent a space. "+" would also be valid in a POST body. Once your POST body is correct, the escaping for your OAuth signature base st

Re: [twitter-dev] Re: POSTing problem

2010-09-14 Thread Tom van der Woerdt
Your Base String looks fine. Are you using the right keys to sign the request? Is there any response from the API, except for 401? (Error message?) Tom On 9/14/10 8:14 PM, MTCoder wrote: > still getting the 401 > > basestring: > POST&http%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses%2Fupdate.xml& > o