A small Node.js app to perform interactions on the Twitter REST API
Currently, only searches Twitter and favorites the tweets that are found
First, take a look at Build a simple Twitter Bot with Node.js in just 38 lines of code
- Clone or download
https://github.com/lamccloskey/twitter-bot-node.git
- Enter folder
cd twitter-bot-node/
- Run
npm install
- Create a file called
.env
and populate the following variablesTWITTER_CONSUMER_KEY
TWITTER_CONSUMER_SECRET
TWITTER_ACCESS_TOKEN_KEY
TWITTER_ACCESS_TOKEN_SECRET
- Run
node app.js
Inspired by bmorelli25/Twitter-Favorite-Bot