Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

NodeBB

  1. Home
  2. Technical Discussion
  3. Does anyone know if mastodon broadcasts replies to posts?

Does anyone know if mastodon broadcasts replies to posts?

Scheduled Pinned Locked Moved Technical Discussion
mastodonactivitypub
1 Cross-posts 12 Posts 3 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • paulgc@mastodon.socialP paulgc@mastodon.social

    Does anyone know if mastodon broadcasts replies to posts?

    I (possibly naively) assumed I'd catch an ActivityPub `Create` event on my server when someone replied to a post created on my server, but nothing's arriving ๐Ÿคท

    How are people learning about replies to their posts? What am I doing wrong?

    #mastodon #activitypub

    julian@activitypub.spaceJ This user is from outside of this forum
    julian@activitypub.spaceJ This user is from outside of this forum
    julian@activitypub.space
    wrote last edited by
    #2

    @paulgc@mastodon.social nope! Replies are only received by your server if they're sent them by the person replying.

    On Mastodon this usually takes the form of a mention. When a user is mentioned on Mastodon, they are de facto addressed as well.

    In turn, that means the activity is delivered to those addressed users.

    If a mastodon user replies to your post but does not mention you, then you will not be receiving that reply. (I think.)

    julian@fietkau.socialJ 1 Reply Last reply
    0
    • julian@activitypub.spaceJ This user is from outside of this forum
      julian@activitypub.spaceJ This user is from outside of this forum
      julian@activitypub.space
      wrote last edited by
      #3

      @paulgc@mastodon.social realistically, however, most software is incentivized to actually address replies to the person they are replying to. Otherwise, they wouldn't get it and there wouldn't be any point to replying, right? ๐Ÿ˜‚

      1 Reply Last reply
      0
      • paulgc@mastodon.socialP This user is from outside of this forum
        paulgc@mastodon.socialP This user is from outside of this forum
        paulgc@mastodon.social
        wrote last edited by
        #4

        @julian wow, ok. That's really helpful - thanks!

        1 Reply Last reply
        0
        • julian@activitypub.spaceJ julian@activitypub.space

          @paulgc@mastodon.social nope! Replies are only received by your server if they're sent them by the person replying.

          On Mastodon this usually takes the form of a mention. When a user is mentioned on Mastodon, they are de facto addressed as well.

          In turn, that means the activity is delivered to those addressed users.

          If a mastodon user replies to your post but does not mention you, then you will not be receiving that reply. (I think.)

          julian@fietkau.socialJ This user is from outside of this forum
          julian@fietkau.socialJ This user is from outside of this forum
          julian@fietkau.social
          wrote last edited by
          #5

          @julian@activitypub.space Replying now because I only saw this thread today (h/t @reiver), but I don't think this is quite accurate as written regarding Mastodon.

          AIUI, Mastodon decouples replying and notifying. If you reply to a post from a Mastodon server but do not tag the author of the parent post, they will be part of the ActivityPub recipient list (and their server will receive the reply), but if the parent poster is also on a Mastodon server, they will not receive a notification about the reply.

          @paulgc

          julian@fietkau.socialJ 1 Reply Last reply
          0
          • julian@fietkau.socialJ julian@fietkau.social

            @julian@activitypub.space Replying now because I only saw this thread today (h/t @reiver), but I don't think this is quite accurate as written regarding Mastodon.

            AIUI, Mastodon decouples replying and notifying. If you reply to a post from a Mastodon server but do not tag the author of the parent post, they will be part of the ActivityPub recipient list (and their server will receive the reply), but if the parent poster is also on a Mastodon server, they will not receive a notification about the reply.

            @paulgc

            julian@fietkau.socialJ This user is from outside of this forum
            julian@fietkau.socialJ This user is from outside of this forum
            julian@fietkau.social
            wrote last edited by
            #6

            In other words, @paulgc, you should be seeing those Create activities if the reply comes from Mastodon. I think if you reply to a post on your server from https://activitypub.academy you can inspect the payload that gets sent.

            @julian@activitypub.space @reiver

            paulgc@mastodon.socialP 1 Reply Last reply
            0
            • julian@fietkau.socialJ julian@fietkau.social

              In other words, @paulgc, you should be seeing those Create activities if the reply comes from Mastodon. I think if you reply to a post on your server from https://activitypub.academy you can inspect the payload that gets sent.

              @julian@activitypub.space @reiver

              paulgc@mastodon.socialP This user is from outside of this forum
              paulgc@mastodon.socialP This user is from outside of this forum
              paulgc@mastodon.social
              wrote last edited by
              #7

              @julian@fietkau.social @julian@activitypub.space @reiver Thanks - you're right, I am now seeing them. They turned up at the shared inbox, rather than the user's inbox, which is why I was missing them to start with. activitypub.academy looks useful!

              julian@activitypub.spaceJ julian@fietkau.socialJ 2 Replies Last reply
              0
              • paulgc@mastodon.socialP paulgc@mastodon.social

                @julian@fietkau.social @julian@activitypub.space @reiver Thanks - you're right, I am now seeing them. They turned up at the shared inbox, rather than the user's inbox, which is why I was missing them to start with. activitypub.academy looks useful!

                julian@activitypub.spaceJ This user is from outside of this forum
                julian@activitypub.spaceJ This user is from outside of this forum
                julian@activitypub.space
                wrote last edited by
                #8

                @paulgc@mastodon.social yes, shared inbox is useful to reduce the number of requests sent.

                NodeBB will always use a shared inbox if one can be found for the user.

                1 Reply Last reply
                0
                • tag-activitypub@relay.fedi.buzzT tag-activitypub@relay.fedi.buzz shared this topic
                • paulgc@mastodon.socialP paulgc@mastodon.social

                  @julian@fietkau.social @julian@activitypub.space @reiver Thanks - you're right, I am now seeing them. They turned up at the shared inbox, rather than the user's inbox, which is why I was missing them to start with. activitypub.academy looks useful!

                  julian@fietkau.socialJ This user is from outside of this forum
                  julian@fietkau.socialJ This user is from outside of this forum
                  julian@fietkau.social
                  wrote last edited by
                  #9

                  @paulgc Glad it's working! Although now that I've tested it myself, I'm not quite as confident anymore. ๐Ÿค” A test reply I made at https://activitypub.academy/@begusla_laddaciul/115865414668779913 has the ActivityPub `to` set as the account's followers and `cc` to as.Public, but was sent to my server anyway. So I guess the behavior, at least on activitypub.academy, is to not individually address the parent poster, but send them a copy of the post anyway (presumably justified by W3C ActivityPub ยง7.1.3). Feels a bit funky.

                  @julian@activitypub.space @reiver

                  julian@activitypub.spaceJ 1 Reply Last reply
                  0
                  • julian@fietkau.socialJ julian@fietkau.social

                    @paulgc Glad it's working! Although now that I've tested it myself, I'm not quite as confident anymore. ๐Ÿค” A test reply I made at https://activitypub.academy/@begusla_laddaciul/115865414668779913 has the ActivityPub `to` set as the account's followers and `cc` to as.Public, but was sent to my server anyway. So I guess the behavior, at least on activitypub.academy, is to not individually address the parent poster, but send them a copy of the post anyway (presumably justified by W3C ActivityPub ยง7.1.3). Feels a bit funky.

                    @julian@activitypub.space @reiver

                    julian@activitypub.spaceJ This user is from outside of this forum
                    julian@activitypub.spaceJ This user is from outside of this forum
                    julian@activitypub.space
                    wrote last edited by
                    #10

                    @julian@fietkau.social @paulgc@mastodon.social mm, I don't suppose there's any reason addressees and delivery recipients need align.

                    You can't enforce it ๐Ÿ˜

                    NodeBB does this too, where we'll send a copy of a reply to everybody in the immediate chain, even if they're not mentioned.

                    1 Reply Last reply
                    0
                    • julian@fietkau.socialJ This user is from outside of this forum
                      julian@fietkau.socialJ This user is from outside of this forum
                      julian@fietkau.social
                      wrote last edited by
                      #11

                      @julian@activitypub.space @paulgc I'm lucky none of my projects so far have needed to really deal with replies, so I haven't had to think about this. ๐Ÿ˜„

                      But it reminds me how I've been told that Misskey sends an account's likes to its followers in addition to the author of the liked post, which Mastodon does not. So on Misskey, if a post comes by your feed that someone you follow has previously liked, you see that information. That's cool in some ways and showcases implementation differences in activity delivery.

                      julian@activitypub.spaceJ 1 Reply Last reply
                      0
                      • julian@fietkau.socialJ julian@fietkau.social

                        @julian@activitypub.space @paulgc I'm lucky none of my projects so far have needed to really deal with replies, so I haven't had to think about this. ๐Ÿ˜„

                        But it reminds me how I've been told that Misskey sends an account's likes to its followers in addition to the author of the liked post, which Mastodon does not. So on Misskey, if a post comes by your feed that someone you follow has previously liked, you see that information. That's cool in some ways and showcases implementation differences in activity delivery.

                        julian@activitypub.spaceJ This user is from outside of this forum
                        julian@activitypub.spaceJ This user is from outside of this forum
                        julian@activitypub.space
                        wrote last edited by
                        #12

                        @julian@fietkau.social that's a great idea! I should adopt that, there's no downside.

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        Powered by NodeBB Contributors
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups