/twitter-likes

download your twitter likes

Primary LanguagePython

twitter-likes

Download your twitter likes using an enhanced version of https://gist.github.com/datagrok/74a71f572493e603919e

prereqs

  • Install python 3
  • Install gdbm: brew install gdbm
  • Create an application at developer.twitter.com/en/apps
  • Create creds.py with the following from your application
username = "datagrok"
consumer_key = "..."
consumer_secret = "..."
access_token = "..."
access_token_secret = "..."
  • make venv to create the virtual env

commands

make fetch downloads favs to favs.db and favs.ndjson
make dump extract favs from favs.db to stdout
make to show all options

alternatives

IFTTT - however it won't log tweets older than the previous liked tweet (eg: a tweet from 2018 if the last liked tweet was in 2019). I'm assuming it's using the since_id filter of the last recorded tweet when calling the favourites api.

dogsheep/twitter-to-sqlite - save favourites (and other things) to sqllite. Has the same API limits of max 3170 tweets at a time.