Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tekumara/twitter-likes
download your twitter likes
https://github.com/tekumara/twitter-likes
Last synced: 3 months ago
JSON representation
download your twitter likes
- Host: GitHub
- URL: https://github.com/tekumara/twitter-likes
- Owner: tekumara
- Created: 2019-01-18T05:23:00.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-06T09:24:48.000Z (over 1 year ago)
- Last Synced: 2024-07-15T14:41:25.955Z (5 months ago)
- Language: Python
- Homepage:
- Size: 26.4 KB
- Stars: 107
- Watchers: 5
- Forks: 17
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://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](https://ifttt.com/applets/113241p-save-the-tweets-you-like-on-twitter-to-a-google-spreadsheet) - 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](https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/get-favorites-list).
[dogsheep/twitter-to-sqlite](https://github.com/dogsheep/twitter-to-sqlite) - save favourites (and other things) to sqllite. Has the same API limits of max 3170 tweets at a time.