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 (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. Hey #ActivityPub friends.

Hey #ActivityPub friends.

Scheduled Pinned Locked Moved Uncategorized
activitypubactivitybot
15 Posts 5 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.
  • 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?

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

    @Edent Not a feature, but a bug report. The ActivityPub spec doesn't spell it out super clearly, but I'm pretty sure that an Actor's Outbox should be a collection of Activities, not Objects like the single-file server uses.

    So the outbox should have "type" => "Create", and the Object will specify the type it is

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

      @Edent Not a feature, but a bug report. The ActivityPub spec doesn't spell it out super clearly, but I'm pretty sure that an Actor's Outbox should be a collection of Activities, not Objects like the single-file server uses.

      So the outbox should have "type" => "Create", and the Object will specify the type it is

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

      @samedwards Interesting. Could you point out where it says that?
      (Not saying you're wrong; saying I sometimes have difficulty finding the right spec!)

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

        @samedwards Interesting. Could you point out where it says that?
        (Not saying you're wrong; saying I sometimes have difficulty finding the right spec!)

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

        @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 2 Replies Last reply
        1
        0
        • 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
          #9

          @samedwards got it 🙂

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

                    1 Reply Last reply
                    0
                    • 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
                      #15

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

                      Or should it be something else?

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


                      • Login

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