[twitter-dev] Re: Problem in posting image to Twitter using twitpic

2010-09-28 Thread sunil adhyaru
1) Header OAuth realm=, oauth_timestamp=1285656191, oauth_nonce=c09a1b4b650f4dcb509ae944a4324f5e0ab3b4ac, oauth_signature_method=HMAC-SHA1, oauth_consumer_key=pzHxyRZ7Mi8fNW25WTgCw, oauth_version=1.0, oauth_token=190978834-DomyKA0lL7apnNQt0r52Z2cg0afuwReiPYfYYDUT,

Re: [twitter-dev] Re: Problem in posting image to Twitter using twitpic

2010-09-28 Thread Tom van der Woerdt
Hi, You should check the algorithm that generates your oauth_signature. It doesn't look like that's a good one. Tom On 9/28/10 8:55 AM, sunil adhyaru wrote: 1) Header OAuth realm=, oauth_timestamp=1285656191, oauth_nonce=c09a1b4b650f4dcb509ae944a4324f5e0ab3b4ac,

Re: [twitter-dev] Re: Problem in posting image to Twitter using twitpic

2010-09-28 Thread Matt Harris
Hey Sunil. Just to add to this, the signature string contains a period '.' which isn't part of the Base64 alphabet. Double check you are base64 encoding the hmac_sha1 signed basestring. In the Authorization header that would then be URL encoded, leaving a string that looks something like this: