This repository provides illustrative examples of how to use the Twitter API with python 3.
First of all you need a twitter account and your consumer key and secret number.
-
Create a new app
-
Generate API keys
-
Record keys on corresponding CONSUMER_KEY, CONSUMER_SECRET, ACCESS_KEY and ACCESS_SECRET variables
-
create the file config.py with your credentials
twitter ={ "consumer_key" : "", "consumer_secret" : "", "access_token" : "", "access_token_secret" : "", }