this post was submitted on 30 Apr 2024
1 points (100.0% liked)
Lemmy Support
4655 readers
2 users here now
Support / questions about Lemmy.
founded 5 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?GetComments=liked_only=true" --header 'accept: application/json'
to get liked comments as JSONThanks. Those look like they're likes per post or comment rather than per user but it's pretty close to what I'm looking for. I'm gonna test that out when I get back from my conference!