An application that constantly monitors one or more keywords.
This runs on UNIX or Cygwin. Tested on Python 2.7. Earlier versions might work.
- pip install TwitterAPI
- Copy
config.json.sample
toconfig.json
- Edit
config.json
to fill the API keys, search filters, and the location of the file to save.
Run:
nohup ./run.sh config.json &
Note: You need to use a different application for each connection
To keep the tweets file to a manageable size, use logrotate.
Edit logrotate.conf
and link to it from /etc/logrotate.d