xAuth in this case, I think, is unrelated to the issue. If you can use
a different key and use the "my token" feature to get your access
token, then try to tweet using that token, it will sufficiently
express the problem I think.

Taylor

On Jun 11, 2010, at 2:48 PM, Craig <chanson9...@gmail.com> wrote:

> Hello,
>
> I have an iphone app that is using xauth.  I am able to obtain the
> access token with no problem at all.  When I go to post a status
> update, I receive an invalid / used nonce error.  It can't actually be
> a used nonce since I have checked this multiple times.  Here are the
> details of the post:
>
> url:
> http://api.twitter.com/1/statuses/update.xml
>
> signature base string:
> POST&http%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses
> %2Fupdate.xml&oauth_consumer_key%3Dmyconsumerkey%26oauth_nonce
> %3D397vi5Ug1YHC3UAVUAoB%26oauth_signature_method%3DHMAC-
> SHA1%26oauth_timestamp%3D1276292596%26oauth_token%3Dmytoken
> %26oauth_version%3D1.0%26status%3Dmy%2520tweet
>
> Authorization header:
> OAuth oauth_nonce="397vi5Ug1YHC3UAVUAoB", oauth_signature_method="HMAC-
> SHA1", oauth_timestamp="1276292596",
> oauth_consumer_key="myconsumerkey", oauth_token="mytoken",
> oauth_signature="yOh2zQPGDBlVEP5cDWhjddQWTLc%3D", oauth_version="1.0"
>
> Content-Type:
> [request setValue:@"application/x-www-form-urlencoded"
> forHTTPHeaderField:@"Content-Type"];
>
> I can see no reason why this shouldn't work.  Any help would be
> greatly appreciated!
>
> Thanks,
> Craig

Reply via email to