Skip to content

Instantly share code, notes, and snippets.

@chrisckchang
Last active December 20, 2015 18:29
Show Gist options
  • Save chrisckchang/6176639 to your computer and use it in GitHub Desktop.
Save chrisckchang/6176639 to your computer and use it in GitHub Desktop.
shell
python twitter-harvest.py -h
usage: twitter-harvest.py [-h] [-r] [-v] [--numtweets NUMTWEETS][--user USER]
--db DB --consumer-key CONSUMER_KEY
--consumer-secret CONSUMER_SECRET
--access-token ACCESS_TOKEN
--access-secret ACCESS_SECRET
optional arguments:
-h, --help help
-r, --retweet include native retweets
-v, --verbose print harvested tweets in shell
--numtweets NUMTWEETS set harvest number
--user USER choose twitter user timeline
--db DB MongoDB URI
--consumer-key CONSUMER_KEY Twitter Consumer Key
--consumer-secret CONSUMER_SECRET Twitter Consumer Secret
--access-token ACCESS_TOKEN Twitter Access Token
--access-secret ACCESS_SECRET Twitter Access Token Secret
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment