https://github.com/raravi/twitter-bot
A Twitter bot for my account!
https://github.com/raravi/twitter-bot
dotenv heroku nodejs twit twitter-api twitter-bot
Last synced: 12 months ago
JSON representation
A Twitter bot for my account!
- Host: GitHub
- URL: https://github.com/raravi/twitter-bot
- Owner: raravi
- License: mit
- Created: 2020-02-05T01:17:32.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T17:07:00.000Z (over 3 years ago)
- Last Synced: 2025-06-10T14:43:14.092Z (about 1 year ago)
- Topics: dotenv, heroku, nodejs, twit, twitter-api, twitter-bot
- Language: JavaScript
- Size: 1.74 MB
- Stars: 6
- Watchers: 2
- Forks: 5
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# twitter-bot
A Twitter bot for my account!
   
I started this project with the intention of learning **Twitter APIs**, and it grew into a nice little bot for keeping track of recent updates on my Twitter.
The code is written in Javascript which runs in **node.js** environment and is deployed on **Heroku**.
It demonstrates the following capabilities:
## Tweet
Tweet something interesting from any source!
## Retweet
Retweet based on a query string and filter conditions.
## Follow
Follow a user based on preferences such as hashtags, Sentiment AFINN scores.
## Greet New Followers
Greet new followers with a welcome message. An easy way to kick start conversations!
## Setup
Follow these steps for setting up your own twitter bot from this repository:
1. Fork this repository.
2. Get Developer access on your twitter account, or create a new account. You will get 4 keys from there: API key, API secret key, Access token, Access token secret.
3. Use the 4 keys/tokens to initialize the Twit code. You can access the documentation at [twit](https://github.com/ttezel/twit) for help with this.
4. Create a Free Tier Heroku account, and create a new app in there. See the [node.js deployment page](https://devcenter.heroku.com/articles/getting-started-with-nodejs?singlepage=true) on Heroku for more information.
Have fun!
[](https://ko-fi.com/Y8Y21VCIL)