A Twitter Bot developed in Python who likes and retweets tweets with #python3 hashtag
You can find my Twitter Bot @pymoonbot at Twitter.
Do you use twitter? Have you come across a twitter bot that like, retweet, follow, or even reply to your tweets? Do you want to know how to build one?
This code is for educational purposes only and the author is not responsible for any consequences resulted. Please do not try it if you do not agree with the condition.
Log in to your Twitter account on which you want to make a bot.
- Twitter Developer Account
- Python
- Tweepy
To know how to create a Twitter developer account, Check This to get a step by step guide.
Tweepy supports both OAuth 1a (application-user) and OAuth 2 (application-only) authentication. Authentication is handled by the tweepy.AuthHandler class.
The API class provides access to the entire twitter RESTful API methods. Each method can accept various parameters and return responses.
You can refer to the Tweepy's documentation
pip install tweepy
The source is available on Link
You can find the code in twitter_bot.py
If you wish to understand the complete walkthrough,step by step, you should visit my Blog
Copyright (c) 2020 Ayushi Rawat
Twitter-Bot Repository is licensed under the MIT License
You can find my blogs at my Website.
- GitHub CLI 1.0: All you need to know
- Python 3.9: All You need to know
- Web Scraping Coronavirus Data into MS Excel
- How to make your own Google Chrome Extension
Check out my latest videos on YouTube:
- How to make your own Google Chrome Extension
- Web Scraping Coronavirus Data into MS Excel
- September Leetcode playlist
Let's connect! Find me on the web.
If you have any Queries or Suggestions, feel free to reach out to me.