jlai.lu
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
KaKi87
cake
to Lemmy Support@lemmy.ml · 2 months ago

Why the API says a post doesn't have comments when the HTML page shows comments ?

message-square
message-square
5
link
fedilink
8
message-square

Why the API says a post doesn't have comments when the HTML page shows comments ?

KaKi87
cake
to Lemmy Support@lemmy.ml · 2 months ago
message-square
5
link
fedilink

Hi,

This post has comments : https://jlai.lu/post/26123233

But when asking the API : https://jlai.lu/api/v3/comment/list?post_id=26123233&sort=Old

An empty array is returned.

Why ?

Thanks

  • KaKi87
    cake
    OP
    link
    fedilink
    arrow-up
    2
    ·
    2 months ago

    Interesting, thanks !

Lemmy Support@lemmy.ml

lemmy_support@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !lemmy_support@lemmy.ml

Support / questions about Lemmy.

Matrix Space: #lemmy-space

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 3 users / day
  • 91 users / week
  • 149 users / month
  • 386 users / 6 months
  • 10 local subscribers
  • 4.99K subscribers
  • 852 Posts
  • 4.11K Comments
  • Modlog
  • mods:
  • Dessalines@lemmy.ml
  • BE: 0.19.13
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org