Skip Navigation
How are comments federated?
  • I understand exactly what you're saying; you can get the parents but not the replies in that situation.

    I'm just saying that in your situation (e.g. someone I follow on Mastodon likes a Lemmy post) it would be convenient for me as a user to be able to view the replies to that Lemmy post, but I cannot necessarily do that because Lemmy does not include replies.

  • How are comments federated?
  • But in the use case you give, how could you view the replies below the liked comment? If the replies key is absent you can’t. So you can only see those for Mastodon/PeerTube in that case, not Lemmy/Pleroma.

  • How are comments federated?
  • Unfortunately I think you’re right. I tested it by trying to load the Lemmy post up on a couple of single-user Mastodon instances, and they failed to load it.

    It looks like only Mastodon and PeerTube and maybe a couple others list replies alongside the post. It would be nice if more did because I’m relying on the feature for this project of mine: https://github.com/BentonEdmondson/servitor

  • How are comments federated?

    I'm trying to figure out how to get the comments of a post given a link to it using ActivityPub.

    Based on reading the ActivityPub spec, I thought comments were federated via the replies key of the ActivityPub Object.

    This works for Mastodon posts, but not for Lemmy (nor Pleroma). As an example curl -H "Accept: application/activity+json" https://lemmy.my.id/post/79514 | jq doesn't contain a replies key. Yet the comments are federated to Mastodon somehow.

    What is going on? How can I get the comment?

    10
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)QU
    quest @lemmy.world
    Posts 1
    Comments 3