Skip to content
This repository was archived by the owner on Jan 24, 2022. It is now read-only.

Files

Latest commit

6585bba · Jul 11, 2020

History

History
122 lines (65 loc) · 3.02 KB

README.md

File metadata and controls

122 lines (65 loc) · 3.02 KB

Welcome to TwitterBot #100daysofcode 👋

Version Twitter: TheRohitDas GitHub followers Twitter: 100daysofcoders

A nodejs Twitter bot that likes #100daysofcode tweets and retweets awesome programming content.

Features

  1. 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.

  2. Avoids SPAM tweets: It checks if the tweet is possibly spam by analyzing:

    • Tweet's text.

    • Author's username.

    • Author's name.

  3. 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.

Setup

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.

Install

npm install

Usage

npm start

Feature Requests

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 :

  1. Fork the repo

  2. Do your Magic

  3. Submit a Pull request.

Author

🤴🏽 Rohit Das

Show your support

Give a ⭐️ if this project helped you!