bot.py
uses twitter-python librarybot2.py
uses tweepy library Both these libraries serve as python wrappers for the original Twitter API v2
The bot tweets anything you want, currently it tweets the current date.
- Goto Twitter Developer Platform and create a new project.
- Generate and Copy the BEARER_TOKEN, API_KEY, API_KEY_SECRET, ACCESS_TOKEN & ACCESS_TOKEN_SECRET and paste them in a
.env
file. - Then Copy & Paste the following commands in your terminal:
git clone https://github.com/gulraiznoorbari/Twitter_Tweeting_Bot.git
cd Twitter_Tweeting_Bot
python bot.py
You can get in touch with me on my LinkedIn Profile:
You can also follow my GitHub Profile to stay updated about my latest projects:
If you liked the repo then kindly support it by giving it a star ⭐!
If you find any bug in the code or have any improvements in mind then feel free to generate a pull request.