CMahaff / lasim

Move your Lemmy settings from one account to another

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Read and Saved posts

8ullyMaguire opened this issue · comments

I would appreciate if I could import read and saved posts.

So unfortunately the API makes this very difficult to do - there's no way to easily find the same post on instance vs another.
Under the hood there is a Federated ID for all these things, but it isn't available to query on right now.

Actually hoping the devs fix this because it means as a regular user there isn't an instance-agnostic way to link any post when using Lemmy.

In any case, the only way way this might work is using the "search" api, which does let me filter by creator and community - but you'd basically have to keep searching until you found the post you wanted - which if a given user posts a ton to one community could be... almost unlimited pages.

As for read posts, I think the volume of data is just too large to add, considering I'd have to process them one at a time. Again, API limitations. Saved posts could be the same problem if you have a ton.

Leaving this open in case a Lemmy API change enables this however.

I added a comment to: LemmyNet/lemmy#3040
And to: LemmyNet/lemmy#506

The Lemmy API devs let me know about how I could make save posts work - how cool is that?

It'll take some work, but I've re-opened this.

Note to myself, or anyone picking this up, use the "resolve_object" endpoint for looking up saved content by the URL - that should give us an id that we can use.

This was closed in error, I'm still interested in this feature (specifically for saved posts). @CMahaff Can you reopen?

The project doesn't seem to be maintained so I didn't thought it would make any difference.

@8ullyMaguire you're right, no activity since august, and lemmy can now natively export saved posts anyway (LemmyNet/lemmy#3976 - though it's not exposed from the UI yet). Might as well close this.