Closed jtiscione closed 7 years ago
Hello, what is inside your credentials.json
?
Twit and Twitter packages doesn't have same keys options.
Twit package keys options:
consumer_key: '',
consumer_secret: '',
access_token: '',
access_token_secret: ''
Twitter package keys options:
consumer_key: '',
consumer_secret: '',
access_token_key: '',
access_token_secret: ''
Ah, that was it! Thanks!
I'm trying the very first example in README.md:
I'm getting this error:
[ { code: 89, message: 'Invalid or expired token.' } ]
None of the other endpoints work either. This is a bug in this module, not any sort of issue with my API key. If I change the first line to
and use the "twit" module instead, everything works perfectly.