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
21 Posts 6 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.
  • samedwards@mastodon.socialS samedwards@mastodon.social

    @Edent https://www.w3.org/TR/activitypub/#outbox

    > The outbox stream contains activities the user has published

    And then an example of a Create activity on a Note https://www.w3.org/TR/activitystreams-vocabulary/#dfn-create

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

    @samedwards Aha! Thanks.

    So does this look right to you?
    http://example.viii.fi/outbox

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

      @samedwards Aha! Thanks.

      So does this look right to you?
      http://example.viii.fi/outbox

      samedwards@mastodon.socialS This user is from outside of this forum
      samedwards@mastodon.socialS This user is from outside of this forum
      samedwards@mastodon.social
      wrote last edited by
      #11

      @Edent Yup, that looks like what I'd expect to see, and mirrors Mastodon as well, ie. https://mastodon.social/users/Edent/outbox?page=true

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

        Hey #ActivityPub friends. Are there any new ActivityPub / Mastodon features I should add to #ActivityBot?

        It's a small bot-only ActivityPub server in a single PHP file.

        https://gitlab.com/edent/activity-bot/

        It can be followed, post images, allow quote posts, etc.

        Is there anything else you would like a bot-server to be able to do?

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

        @Edent Delete and/or updating posts would be amazing. It would become a great reference implementation for basic ActivityPub interactions.

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

          @Edent Delete and/or updating posts would be amazing. It would become a great reference implementation for basic ActivityPub interactions.

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

          @threkk I'll have a think about how I could do that. Thanks 🙂

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

            @threkk I'll have a think about how I could do that. Thanks 🙂

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

            @Edent No, thank you for making this ❤

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

              Hey #ActivityPub friends. Are there any new ActivityPub / Mastodon features I should add to #ActivityBot?

              It's a small bot-only ActivityPub server in a single PHP file.

              https://gitlab.com/edent/activity-bot/

              It can be followed, post images, allow quote posts, etc.

              Is there anything else you would like a bot-server to be able to do?

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

              @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 1 Reply Last reply
              0
              • 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 1 Reply 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 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?

                        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.

                          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