hello, I am doing some tests with the Wordpress federation with ActivityPub. It works very well even with Lemmy:

but

  • however, if the user receives a reply, in this case, the reply is given by “testuser,” the latter is not visible in the Wordpress article (in the article, in fact, only Martufello’s first response is present.).

Is it a Lemmy bug?

Thanks.

  • Andrew@piefed.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    6 hours ago

    You and db0 are doing different things - he has blog that Lemmy users can interact with as if it was another Lemmy community, whereas you have a blog that you want to use to post articles into a different Lemmy community.

    A reply is sent from Lemmy twice - once to the community to Announce out to its followers, and once to the person being replied to. A top-level reply will appear on the WordPress blog because it is a reply to the author. A reply to a reply won’t, because the blog is not following the Lemmy community (so won’t get the Announce), and the author isn’t the person being replied to.

    If you want a reply to a reply to also appear on WordPress, you need to treat it like Mastodon, and also Mention the original author. Here is an example that also appeared on the blog: https://lemmy.world/comment/14897939 (the reply from ‘freamon’)

    • skarikoOP
      link
      fedilink
      arrow-up
      1
      ·
      5 hours ago

      Ok, thanks, the reason is now definitely clear to me.

      I was wondering, however, if it might somehow be possible to “bypass” this issue. I have no idea how to do it technically, but I mean something like automatically inserting the author’s tag in certain cases as you did, to make it more practical in terms of usability.

      But perhaps, precisely because of the way it is shared, it is not possible to imagine something like that.

      • Andrew@piefed.social
        link
        fedilink
        English
        arrow-up
        2
        ·
        5 hours ago

        I’m not sure, either.

        I can imagine, though, that if Lemmy automatically inserted the original post author in replies as a Mention, it would be indistinguishable from when it’s done manually to page another user. So if you made a post as a Lemmy user, every reply in the comment chain would show up in your Notifications.

    • skarikoOP
      link
      fedilink
      arrow-up
      1
      ·
      7 hours ago

      Thank you very much, this is very interesting. Being both the admin of the WordPress blog and the Lemmy instance, I now need to understand which of the two is having issues.

      The ActivityPub plugin seems to work well; I also recently resolved some problems that were solely due to a third-party caching plugin.

      I read your article; is it possible to know, if publicly discussable, what changes were made to the plugin that allowed you to resolve the issues? This way, I can compare them with mine and understand what the problem might be.

      Thanks!

        • skarikoOP
          link
          fedilink
          arrow-up
          1
          ·
          7 hours ago

          Ok perfect, now everything is clear to me then :)

          What you did is the actual federation of the site, so every time you create a post you don’t mention a community where it should appear, but it gets federated automatically and displayed within dbzer0 not as a real community but must necessarily be searched for.

          What I’m trying to do is slightly different.

          Currently, I have the first setting active, that is, only federated authors. An author when posting content can mention a community, in this case @lealternative@feddit.it, and the post will automatically be posted in that community (which is a real community of feddit.it, in the sense that it is actually present in the list of communities and anyone can write there).

          For this reason, the bug “persists,” meaning that only the first responses are displayed on the site while the responses to the responses are not.

          If instead I change the type of federation and use yours, I can also see the responses.

          • db0@lemmy.dbzer0.com
            link
            fedilink
            arrow-up
            2
            ·
            7 hours ago

            Ah, this is probably due to you posting as a note, and not as an article. You might need to open a bug report.