Tobias,

No problem. Glad you got it working.

Best,
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris


On Mon, Nov 29, 2010 at 4:55 PM, Tobias C. Jensen <2bia...@gmail.com> wrote:

> Never mind, problem solved. Dumb question! :)
>
> On 29 Nov., 23:41, "Tobias C. Jensen" <2bia...@gmail.com> wrote:
> > Hi guys.
> >
> > I'm trying to authenticate with the tmhOAuth PHP class by Matt Harris.
> >
> > I'm using $_SESSION['oauth']['oauth_token'] as 'user_token' and
> > $_SESSION['oauth']['oauth_token_secret'] as 'user_secret'.
> >
> > But when I try to verify_credentials it returns the error:
> >
> > {"request":"\/1\/account\/verify_credentials.json","error":"Request
> > token must be exchanged for an access token before use"}
> >
> > Am I doing it wrong? Is the oauth_token and oauth_token_secret
> > sessions not the right ones to use?
> >
> > If I use a token and secret that I stored a month ago it works just
> > fine..
> >
> > Thanks in advance!
> >
> > Regards,
> > Tobias C. Jensen
>
> --
> Twitter developer documentation and resources: http://dev.twitter.com/doc
> API updates via Twitter: http://twitter.com/twitterapi
> Issues/Enhancements Tracker:
> http://code.google.com/p/twitter-api/issues/list
> Change your membership to this group:
> http://groups.google.com/group/twitter-development-talk
>

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk

Reply via email to