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. General Discussion
  3. Hey #ActivityPub friends.

Hey #ActivityPub friends.

Scheduled Pinned Locked Moved General Discussion
activitypubactivitybot
25 Posts 7 Posters 4 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.
  • silverpill@mitra.socialS silverpill@mitra.social

    @Edent

    https://example.viii.fi/posts/69aeb347-03d0-dc44-83c8-9c7c488ff6e0.json

    It is served by an instance of your bot? The value of inReplyTo in this document is an empty string, which is not a valid URI.

    edent@mastodon.socialE This user is from outside of this forum
    edent@mastodon.socialE This user is from outside of this forum
    edent@mastodon.social
    wrote last edited by
    #16

    @silverpill good spot!
    I assume if it isn't a reply, the field should be excluded?

    Or should it be something else?

    julian@activitypub.spaceJ evan@cosocial.caE 2 Replies Last reply
    0
    • edent@mastodon.socialE edent@mastodon.social

      @silverpill good spot!
      I assume if it isn't a reply, the field should be excluded?

      Or should it be something else?

      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
      #17

      @edent@mastodon.social I've learned that it should be excluded altogether, and not a null value

      1 Reply Last reply
      0
      • silverpill@mitra.socialS This user is from outside of this forum
        silverpill@mitra.socialS This user is from outside of this forum
        silverpill@mitra.social
        wrote last edited by
        #18

        @julian @Edent Yep

        (although I think we should bring back null)

        edent@mastodon.socialE 1 Reply Last reply
        0
        • silverpill@mitra.socialS silverpill@mitra.social

          @julian @Edent Yep

          (although I think we should bring back null)

          edent@mastodon.socialE This user is from outside of this forum
          edent@mastodon.socialE This user is from outside of this forum
          edent@mastodon.social
          wrote last edited by
          #19

          @silverpill @julian @general
          Ah, I assume that `cc` should also be null if it isn't copied to anyone?

          julian@activitypub.spaceJ silverpill@mitra.socialS evan@cosocial.caE 3 Replies Last reply
          0
          • edent@mastodon.socialE edent@mastodon.social

            @silverpill @julian @general
            Ah, I assume that `cc` should also be null if it isn't copied to anyone?

            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
            #20

            @edent@mastodon.social <img class="not-responsive emoji" src="https://activitypub.space/assets/plugins/nodebb-plugin-emoji/emoji/android/1f937.png?v=42a4d91a3c1" title="🤷" /> I was passing null around like candy but some implementations choke on that. In general, tolerance of odd values in cc is well handled, but I would just omit or send [].

            1 Reply Last reply
            0
            • threkk@mastodon.socialT threkk@mastodon.social

              @Edent No, thank you for making this ❤

              edent@mastodon.socialE This user is from outside of this forum
              edent@mastodon.socialE This user is from outside of this forum
              edent@mastodon.social
              wrote last edited by
              #21

              @threkk the bot can now send Delete messages. They're processed successfully by Mastodon.social - so I assume they work elsewhere 🙂

              Will have a think about editing.

              threkk@mastodon.socialT 1 Reply Last reply
              0
              • edent@mastodon.socialE edent@mastodon.social

                @silverpill @julian @general
                Ah, I assume that `cc` should also be null if it isn't copied to anyone?

                silverpill@mitra.socialS This user is from outside of this forum
                silverpill@mitra.socialS This user is from outside of this forum
                silverpill@mitra.social
                wrote last edited by
                #22

                @Edent @julian It should either be omitted or be an empty array (opinions differ).

                1 Reply Last reply
                1
                • edent@mastodon.socialE edent@mastodon.social

                  @silverpill good spot!
                  I assume if it isn't a reply, the field should be excluded?

                  Or should it be something else?

                  evan@cosocial.caE This user is from outside of this forum
                  evan@cosocial.caE This user is from outside of this forum
                  evan@cosocial.ca
                  wrote last edited by
                  #23

                  @Edent @silverpill don't use nulls. Just omit it.

                  1 Reply Last reply
                  0
                  • edent@mastodon.socialE edent@mastodon.social

                    @silverpill @julian @general
                    Ah, I assume that `cc` should also be null if it isn't copied to anyone?

                    evan@cosocial.caE This user is from outside of this forum
                    evan@cosocial.caE This user is from outside of this forum
                    evan@cosocial.ca
                    wrote last edited by
                    #24

                    @Edent omit

                    @silverpill @julian @general

                    1 Reply Last reply
                    1
                    • edent@mastodon.socialE edent@mastodon.social

                      @threkk the bot can now send Delete messages. They're processed successfully by Mastodon.social - so I assume they work elsewhere 🙂

                      Will have a think about editing.

                      threkk@mastodon.socialT This user is from outside of this forum
                      threkk@mastodon.socialT This user is from outside of this forum
                      threkk@mastodon.social
                      wrote last edited by
                      #25

                      @Edent wow, that was fast, thank you!

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      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