Is it possible that one or more of the tokens are getting overwritten or
lost in the process?

On Sat, May 2, 2009 at 18:13, Martyn <[email protected]> wrote:

>
> I have seen several posts but I don't understand the answers :( I'm
> fairly new to all this so I apologize if I'm missing something
> obvious.
>
> Using twitterOAuth from
> https://docs.google.com/View?docID=dcf2dzzs_2339fzbfsf4
> I manage to grab and save the access tokens oauth_token as $user_token
> and oauth_token_secret as $user_secret and can use them to
> successfully call verify_credentials.xml
>
> However if I try make a second call it doesn't work, for example:-
>
> $msg = 'test';
> $twitter =  new TwitterOAuth($consumer_key, $consumer_secret,
> $user_token, $user_secret);
> $xml_string = $twitter->OAuthRequest('https://twitter.com/statuses/
> update.xml <https://twitter.com/statuses/%0Aupdate.xml>', array('status'
> => $msg), 'POST');
>
> Returns "Failed to validate oauth signature or token".
>
> Any ideas what I can do to make this work?
>
> Thanks,
> Martyn
>



-- 
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 Milwaukee, WI, United States

Reply via email to