Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read and Saved posts #8

Closed
8ullyMaguire opened this issue Jul 10, 2023 · 6 comments
Closed

Read and Saved posts #8

8ullyMaguire opened this issue Jul 10, 2023 · 6 comments
Labels
enhancement New feature or request

Comments

@8ullyMaguire
Copy link

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

@CMahaff CMahaff added the enhancement New feature or request label Jul 11, 2023
@CMahaff
Copy link
Owner

CMahaff commented Jul 11, 2023

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.

@CMahaff CMahaff added the api limitation Lemmy API does not support this operation label Jul 11, 2023
@CMahaff
Copy link
Owner

CMahaff commented Jul 12, 2023

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

@CMahaff CMahaff added wontfix This will not be worked on and removed enhancement New feature or request labels Jul 12, 2023
@CMahaff CMahaff closed this as not planned Won't fix, can't repro, duplicate, stale Jul 12, 2023
@CMahaff CMahaff reopened this Jul 12, 2023
@CMahaff CMahaff added enhancement New feature or request and removed wontfix This will not be worked on api limitation Lemmy API does not support this operation labels Jul 12, 2023
@CMahaff
Copy link
Owner

CMahaff commented Jul 12, 2023

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.

CMahaff added a commit that referenced this issue Aug 5, 2023
- Add a new settings page to customize features of LASIM
- Store settings page selections in a configuration file in the user's home directory
- Settings options: choose what to upload
- Settings options: Synchronize removals (make LASIM not additive) - Closes #18
- Settings option: Added option for implementing Saved Posts (#8) later
- Fix Rate Limit Calculation (hopefully closes #19) and display/calculate estimated upload time
- Code refactor
- Update README
- Add additional contributors to ABOUT
@8ullyMaguire 8ullyMaguire closed this as not planned Won't fix, can't repro, duplicate, stale Nov 17, 2023
@nodiscc
Copy link

nodiscc commented Nov 18, 2023

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

@8ullyMaguire
Copy link
Author

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

@8ullyMaguire 8ullyMaguire reopened this Nov 18, 2023
@nodiscc
Copy link

nodiscc commented Nov 18, 2023

@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.

@8ullyMaguire 8ullyMaguire closed this as not planned Won't fix, can't repro, duplicate, stale Nov 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants