This repository contains Python code that makes the @MathsJam Twitter account automatically retweet local MathsJams on the day of and the day before events.
Before running this code, you will need to:
- Make a copy of
config.py.template
calledconfig.py
and fill in the Twitter API keys for the MathsJam account. - Install the required Python libraries by running
pip install -r requirements.txt
Once you've done this you can run the code using:
python tweet.py
If you want to test the code without actually sending and tweets, you can do this using:
python tweet.py test