https://github.com/thepranaygupta/gwoc-bot
A Twitter Bot that retweets and likes tweets with the hashtag #girlscriptwoc and #girlscript, and also follows the user.
https://github.com/thepranaygupta/gwoc-bot
girlscript girlscript-foundation gwoc hacktoberfest twitter-bot
Last synced: 11 months ago
JSON representation
A Twitter Bot that retweets and likes tweets with the hashtag #girlscriptwoc and #girlscript, and also follows the user.
- Host: GitHub
- URL: https://github.com/thepranaygupta/gwoc-bot
- Owner: thepranaygupta
- License: mit
- Created: 2021-09-25T07:35:28.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-09-25T09:49:08.000Z (over 4 years ago)
- Last Synced: 2025-04-19T18:18:12.110Z (about 1 year ago)
- Topics: girlscript, girlscript-foundation, gwoc, hacktoberfest, twitter-bot
- Language: Python
- Homepage: https://twitter.com/GWoC_Bot
- Size: 8.79 KB
- Stars: 9
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
GirlScript Winter of Contributing Twitter Bot
[](https://github.com/thepranaygupta/GWoC-Bot/issues)
[](https://github.com/thepranaygupta/GWoC-Bot/pulls)
[](https://github.com/thepranaygupta/GWoC-Bot/network)
[](https://github.com/thepranaygupta/GWoC-Bot/stargazers)
[](https://github.com/thepranaygupta/GWoC-Bot/watchers)
[](https://twitter.com/intent/tweet?text=Wow:&url=https%3A%2F%2Fgithub.com%2Fthepranaygupta%2FGWoC-Bot)
### A Twitter Bot that retweets and likes tweets with the hashtag [`#girlscriptwoc`](https://twitter.com/search?q=%23girlscriptwoc) and [`#girlscript`](https://twitter.com/search?q=%23girlscript), and also follows the user.
## Installation ๐ฅ
- Clone the repo
```
$ git clone https://github.com/thepranaygupta/GWoC-Bot.git
```
- Install [Tweepy](http://www.tweepy.org/) - An easy-to-use Python library for accessing the **Twitter API**.
```
$ pip install tweepy
```
## Working โ๏ธ
- Create a new Twitter account for your bot and Sign up for [Twitter Developer Account](https://developer.twitter.com/en/apply-for-access).
- Make sure you fully understand [Twitter's Rules on Automation](https://support.twitter.com/articles/76915). Play nice. Don't spam!
- Click on [Create an app](https://developer.twitter.com/en/apps). This is where you'll generate your keys, tokens, and secrets.
- Enter the details and keep safe the access tokens generated.
- Edit the [bot.py](./bot.py) file accordingly.
## Deployment on [Heroku](https://www.heroku.com/) โ๏ธ
Follow all the steps as shown in this [YouTube Tutorial](https://youtu.be/BPvg9bndP1U).
You need to make three different files :
- [runtime.txt](./runtime.txt) (Includes Python Version `python-3.8.12`)
- [requirements.txt](./requirements.txt) (`pip freeze > requirements.txt`)
- [Procfile](./Procfile) (`worker: python bot.py`)
**Note**: Make sure that your [bot.py](./bot.py) file and the files generated above are in the same directory.
## License ๐งพ
The GirlScript Winter of Contributing Twitter Bot is released under the under terms of the [MIT License](./LICENSE).
## Contact ๐ฌ
If you are stuck anywhere you can contact me via [Twitter](https://twitter.com/thepranaygupta) or [LinkedIn](https://www.linkedin.com/in/thepranaygupta/) I will be glad to help you.๐
Check out my other repositories [here](https://github.com/thepranaygupta?tab=repositories).