Posting here also, because [email protected] commented that the API should work as expected on lemm.ee for instance. Don’t know which admin on programming.dev I can contact on this regard. Can someone help?
cross-posted from: https://programming.dev/post/20954226
I try to get comment data for my posts via API from my Lemmy instance, but whatever I try on using the GetComments endpoint it delivers an empty array.
For example …
GET https://programming.dev/api/v3/comment/list?post_id=20878811
leads to:
{ "comments": [] }
I want to ask here, before creating an issue. Has someone a hint?
Add the param
type_=All
Not sure why that’s needed since it’s an optional parameter, but it is. You’ll also need to
max_depth
or uselimit
andpage
to get them all.I usually use
max_depth
Will try that as soon as I can. Thanks…