Ouch! I have been stupid after all. My session was open on the domain, while my test page was on the www sub domain.
I will go away, hang my head in shame, and be quiet now! Thanks for your help. Martyn On May 3, 12:46 am, Abraham Williams <4bra...@gmail.com> wrote: > 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 <walker...@gmail.com> 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