Skip to content
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

Code: 89 Invalid or expired token on valid tokens #320

Open
bd opened this issue Dec 20, 2016 · 0 comments
Open

Code: 89 Invalid or expired token on valid tokens #320

bd opened this issue Dec 20, 2016 · 0 comments

Comments

@bd
Copy link

bd commented Dec 20, 2016

In short, I have an app that I would like to tweet from a single account, but the authentication is failing. I have generated (and re-generated) the consumer and access keys. Using these keys in a OAuth.post(...) call, i.e.
function continuation(err, data, resp){ console.log(err, data, resp); } twitterer.post( "https://api.twitter.com/1.1/statuses/update.json", getContext().configuration.tasks.auto_tweet.apiPostKey, getContext().configuration.tasks.auto_tweet.apiPostSecret, ({'status': message}), "application/json", continuation)' yields{ statusCode: 401,
data: '{"errors":[{"code":89,"message":"Invalid or expired token."}]}' } ...`

a more detailed description of the problem here: https://stackoverflow.com/questions/41232327/twitter-app-oauth-with-node-js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant