-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expired token #3
Comments
This error occurs when the token you're using is either expired or invalid. Verify that the strings you're using for access token and access token secret are valid. You may have inadvertently expired the tokens and need to regenerate them. Can you post the exact error message you're getting? A full HTTP log of the entire request, or as much data as you can provide, would be helpful. Thanks. |
Getting the same after following the exact same example as the git page. |
Using the example on the git page, I added another line to my code when I reassign the oauth_token and oauth_token_secret in the post authorization callback based on the response. Then it's all good $cb->setToken($_SESSION['twitter_data']->oauth_token, $_SESSION['twitter_data']->oauth_token_secret); |
Me too. Will let you guys know if I work it out. |
Yeah, that works well now. Thanks. Consider solved. |
Getting an expired token notice from the return, does your code regenerate the signature each time, any ideas?:
Array ( [errors] => Array ( [0] => stdClass Object ( [message] => Invalid or expired token [code] => 89 ) ) [httpstatus] => 401 )
The text was updated successfully, but these errors were encountered: