Before you start, you need a few things:
settings.cfg with proper settingsenvironment.yml for conda users and requirements.txt for pip users (NOTE: we've tested these only on OS X)Here's Twitter's overview of the credentials and the process.
The scripts can look for either handles or user ids but not both. So, you need to create a plain-text file with one handle or user id per line. We provided list_example.txt to show you how.
settings-example.cfg to settings.cfgsettings.cfg with settings appropriate for your environment and with your own Twitter credentialsThe settings (besides Twitter credentials) are
true if you provided a list of ids, otherwise leave it as falseTo download the user timelines as JSON files (one per use), run the script below:
In [1]:
    
run scripts/twitter_collect.py
    
    
Once you have all the JSON files, you can parse the data into some other format that's useful for you. For instance, Ilan Manor likes to work in Excel, so we created a parser for him that puts the data he cares about into a CSV Excel can read.
In [2]:
    
run scripts/twitter_parse.py