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!