mastodon-to-sqlite icon indicating copy to clipboard operation
mastodon-to-sqlite copied to clipboard

We shouldn't be downloading all the statuses, favourites, and bookmarks on each call.

Open myles opened this issue 2 years ago • 3 comments

We should only bring down the latest status, favourites, and bookmarks when we call the CLI.

myles avatar Apr 11 '23 23:04 myles

Statuses docs: https://docs.joinmastodon.org/methods/accounts/#query-parameters

Looks like the bookmarks and favourites don't really support a since_id.

myles avatar Apr 11 '23 23:04 myles

Hah, I filed an issue like this in my own fork. I think it could be a more ergonomic experience to support something like --resume for statuses, but that does slightly complicate the implementation.

numist avatar Apr 12 '23 15:04 numist

So, because bookmarks and favourites don't support a since_id, but they should return in save order, my thought is to pull pages until we hit the most recent one, which we pull from the db. Does this work, @myles ? If so I can code that up.

phildini avatar May 29 '24 02:05 phildini