A twarc plugin to read Twitter data and output the tweet ids
First you need to install twarc and this plugin:
pip install twarc pip install twarc-ids
Now you can collect data using the core twarc utility:
twarc search blacklivesmatter > tweets.jsonl
And you have a new subcommand
ids that is supplied by twarc-ids.
twarc ids tweets.jsonl > ids.txt
python setup.py test
When creating your setup.py make sure you don't forget the entry_points magic so that twarc will find your plugin when it is installed!
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.