In order to install all the necessary dependencies, run pip install -r requirements.txt
in the workspace folder after cloning the repository.
Create an app on Twitter and generate the required credentials for your automated account (consumer keys & auth tokens).
Create a .env
file in the workspace folder and fill in the credentials:
CONSUMER_KEY
CONSUMER_SECRET
ACCESS_KEY
ACCESS_SECRET
Make sure to specify the following data in app.py
:
- Time of the day to schedule
- Desired timezone (list of tz database)
- Text of the tweet
MIT