this post was submitted on 30 Apr 2024
13 points (93.3% liked)
Lemmy Support
4651 readers
1 users here now
Support / questions about Lemmy.
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
API docs are at https://lemmy.readme.io/reference/get_post-list - I haven't tested this, but to me it looks like you can get raw results for what you've liked by doing this (for
$server
set to whatever server address):--request GET --url "https://$server/api/v3/post/list?liked_only=true" --header 'accept: application/json'
to get liked posts as JSON--request GET --url "https://$server/api/v3/comment/list?liked_only=true" --header 'accept: application/json'
to get liked comments as JSONEdit: Fixed comment link
A good starting point, but since they are GET requests, there is no reason to leave the browser.
You can visit the links directly, such as (I filled in OP's instance):
I've heard from somewhere that chrome doesn't render JSON nicely, so make sure to use firefox!
Other interesting parameters are
saved_only
anddisliked_only
.Oh, true dat - yeah that is much more convenient.