Re: [twitter-dev] OAuth authentication issuse

2010-08-16 Thread Tom van der Woerdt
On 8/16/10 6:41 PM, Jims wrote:
> Hi guys,
> 
> request":"/1/statuses/update.json","error":"Could not authenticate
> you.
> 
> I am trying to post a tweet to one of my accounts using oAuth, with a
> script I wrote on PERL. I'm sending the request as a POST with the
> required tokens in the header. but I keep getting this error
> 
> request":"/1/statuses/update.json","error":"Could not authenticate
> you.
> 
> Additional info:
> 
> I have the consumer key and secret, oauth token and secret, I'm
> generating the nonce myself, I'm passing a timestamp in milliseconds .
> 
> I believe I am constructing the signature in the correct order, and am
> using the consumer and oauth secrets to sign them.
> 
> Everything is url encoded.
> 
> Is there something I have to do before I can tweet, bearing in mind I
> have all the tokens
> 
> 
> 

Hi,

The error you get is the error people get when not sending the oauth
information like signature, token, etc. You should send the OAuth
information in the Authorization: header.

Also, you should pass the timestamp in seconds since the unix epoch, not
in milliseconds.

If this does not solve it, please show me one of your Base Strings.

Tom


[twitter-dev] OAuth authentication issuse

2010-08-16 Thread Jims
Hi guys,

request":"/1/statuses/update.json","error":"Could not authenticate
you.

I am trying to post a tweet to one of my accounts using oAuth, with a
script I wrote on PERL. I'm sending the request as a POST with the
required tokens in the header. but I keep getting this error

request":"/1/statuses/update.json","error":"Could not authenticate
you.

Additional info:

I have the consumer key and secret, oauth token and secret, I'm
generating the nonce myself, I'm passing a timestamp in milliseconds .

I believe I am constructing the signature in the correct order, and am
using the consumer and oauth secrets to sign them.

Everything is url encoded.

Is there something I have to do before I can tweet, bearing in mind I
have all the tokens