A Python-based Twitter bot using PySide6 for UI and tweepy for Twitter API interactions. This bot allows users to automate tweets, schedule posts, and interact with Twitter through a simple interface.
- Send tweets automatically
- Schedule tweets at specific times
- User-friendly GUI built with PySide6
- Customizable settings and API authentication
- This is still a WIP project
- Python 3.8 or later
- Twitter Developer Account
- API keys (see the section below)
- Clone this repository:
git clone https://github.com/Danicortex/TweepyBot cd twitter-bot - Install required dependencies:
pip install -r requirements.txt
- Run the bot:
python tweet.py
To use this bot, you need API keys from Twitter. Follow these steps:
-
Create a Developer Account:
- Go to Twitter Developer Portal
- Sign up and apply for a developer account
-
Create an App:
- After approval, go to the Developer Dashboard
- Click Create App
- Give it a name and complete the setup
-
Generate Keys and Tokens:
- In your app settings, navigate to Keys and Tokens
- Generate and copy the following credentials:
- API Key
- API Secret Key
- Access Token
- Access Token Secret
- Bearer Token
- Client Id
- Client Secret
- Twitter Username
-
Store the Keys Safely:
- Save them in a
.envfile or enter them into the bot’s configuration settings.
- Save them in a
- Run
tweet.py - Enter your Twitter API credentials
- Use the UI to send and automate tweets
Contributions are welcome! Feel free to fork the repository, submit pull requests, or suggest improvements.
This project is licensed under the Creative Commons Attribution 4.0 International (CC BY 4.0) license.
- You must give credit to the original author when using or modifying this project.
- If you distribute a modified version, include a notice that changes were made.
- Commercial use is allowed, provided that proper attribution is given.
Read the full license here.
If you have questions or suggestions, feel free to open an issue!
Enjoy using the bot! 🚀