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:

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

Thanks in advance!

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: 

Reply via email to