A nodejs Twitter bot that likes #100daysofcode tweets and retweets awesome programming content.
🏠 Homepage
-
Only likes tweet of people who need it: In the config file, you can find few variables that decide if it should engage with the Tweet. By default, it engages with accounts having -
-
low follower count
-
low tweet engagement rates.
-
-
Avoids SPAM tweets: It checks if the tweet is possibly spam by analyzing:
-
Tweet's text.
-
Author's username.
-
Author's name.
-
-
Follows popular accounts: Retweets tweet from popular accounts that consistently put out quality tweets for developers.
Please review config.js file and add your favourite accounts by opening pull requests.
Check the config.js file and change the values as per need.
You will also need a twitter developer account and your API keys.
Follow Twitter's official guide to getting everything you need - Quick Start
If you are using Heroku add this API keys using Heroku CLI (Tutorial) to the variables named -
BOT_CONSUMER_KEY, BOT_CONSUMER_SECRET, BOT_ACCESS_TOKEN and BOT_ACCESS_TOKEN_SECRET
If you deployed it anywhere else, create a .env and copy this -
BOT_CONSUMER_KEY =
BOT_CONSUMER_SECRET =
BOT_ACCESS_TOKEN =
BOT_ACCESS_TOKEN_SECRET =
Fill it with your API keys.
npm install
npm start
Together we can make the best Twitter bot for #100DaysofCode.
So, please submit feature request by opening issues.
If you want to improve the code or add new features :
-
Fork the repo
-
Do your Magic
-
Submit a Pull request.
🤴🏽 Rohit Das
-
Twitter: @TheRohitDas
-
Github: @TheRohitDas
-
LinkedIn: @TheRohitDas
Give a ⭐️ if this project helped you!