You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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."}]}' } ...`
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
The text was updated successfully, but these errors were encountered: