A straightforward automation script used to post X (Formerly Twitter) updaing the daily progress of your challenge!
- Python 3.8+
pip install tweepy
- Visit this link: https://developer.x.com/en/portal/dashboard
- Establish a Project β Make a App
- In the User authentication settings section:
- App type β
Web App, Automated App, or Bot- App permissions βRead and Write - Callback URL β
https://localhost - Save modifications - Website URL β
https://example.com(or any URL)
- App type β
- Select the Keys and Tokens tab.
- Produce these four values: API Key - API Key Secret - Access Token - Access Token Secret
Note: If Access Token & Secret are not visible, ensure step 3 is saved.
Open src/config.py L16 update your enviromental variable.
Open src/main.py at L39 you can update the post content.
python main.pypip install pyinstaller
pyinstaller --onefile --icon=icon.ico ./src/main.py