Open
Description
Describe the bug
the doc shows: const twitterClient = new TwitterApi('<YOUR_APP_USER_TOKEN>');
it's misleading
To Reproduce
N/A
Expected behavior
const twitterClient = new TwitterApi({
appKey: process.env.TWITTER_CONSUMER_API_KEY,
appSecret: process.env.TWITTER_CONSUMER_API_SECRET,
accessToken: process.env.TWITTER_ACCESS_TOKEN,
accessSecret: process.env.TWITTER_ACCESS_SECRET,
});
this one works
I hope the doc can be updated
Version
N/A
Additional context
N/A
Metadata
Metadata
Assignees
Labels
No labels