What OAuth library are you using? Check to make sure a new nonce is being generated for each call.
On Thu, Apr 23, 2009 at 20:16, Tmeister <tmeis...@gmail.com> wrote: > > Hi. > > I'm trying login via oAuth. > > Everything works until i want to make calls to the api, in my callback > script, i get the oauth_token and the result is something like this. > > > Array > ( > [oauth_consumer_key] => 2hWU5PbEV9N0IQZVUVBZA > [oauth_token] => > 1798551-6WnyNJhqtFJZm2idwPeSvRaWfiQ6EEvuyC3lWyL1Zr > [oauth_signature_method] => HMAC-SHA1 > [oauth_timestamp] => 1240534443 > [oauth_nonce] => 079d078f4e54392216490b29cad4c12d43a3ad5a > [oauth_version] => 1.0 > ) > > > with that, i request the statuses/friends_timeline and i get > > <?xml version="1.0" encoding="UTF-8"?> > <hash> > <request>/statuses/friends_timeline.xml</request> > <error>Invalid / used nonce</error> > </hash> > > > then immediately (next line), i call statuses/mentions.xml with this > values > > Array > ( > [oauth_consumer_key] => 2hWU5PbEV9N0IQZVUVBZA > [oauth_token] => > 1798551-6WnyNJhqtFJZm2idwPeSvRaWfiQ6EEvuyC3lWyL1Zr > [oauth_signature_method] => HMAC-SHA1 > [oauth_timestamp] => 1240534444 > [oauth_nonce] => 656194d82a7968e52a42770591188612cf779afc > [oauth_version] => 1.0 > ) > > and i get > > Failed to validate oauth signature or token > > everything looks fine by me, do you see something wrong?? > > Thanks in advanced! > -- Abraham Williams | http://the.hackerconundrum.com Hacker | http://abrah.am | http://twitter.com/abraham Web608 | Community Evangelist | http://web608.org This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, WI, United States