A simple way to tweet famous quotes from Wikiquote
I wanted to have a bot that would tweet different quotes from Wikiquote each morning to start the day on a good note. This small scripts uses Tweepy's API and fredericotdn's Wikiquote API to scan quotes on Wikiquote and tweet them .
The following steps explain how to configure the script before running it:
- Clone the repo:
git clone https://github.com/IamPhytan/wikiquote-twitter-bot.git
- Download the requirements (or create a
virtualenv
before) :pip3 install -r requirements.txt
- Follow this tutorial to get your :
- Consumer key
- Consumer secret
- Access token
- Access token secret
- Add these values to the configuration file
- Insert in the same configuration file the time you want to send quotes and the names of the people who inspire you.
- Run the script:
python3 main.py