Setting up
Before reading this please visit the token page to know on how to get your tokens, this guide only follows user auth
Installing
You can install the package easily by doing
npm i tweets.js
You need npm and node.js installed for this package to work
Basic usage
Please visit the token page on how to acquire the following tokens
const bird = require('tweets.js')
const bot = new bird.tweet({
consumer_key: "Your consumer key",
consumer_secret: "Your consumer secret",
access_token: "Your access token",
access_token_secret: "Your access token secret"
});
That's it, you now have a basic bot. visit the methods page for a guide on all the methods available
Last updated
Was this helpful?