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. ActivityPub client developer experience is something like this.

ActivityPub client developer experience is something like this.

Scheduled Pinned Locked Moved General Discussion
activitypubc2sdevex
1 Cross-posts 5 Posts 2 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.
  • django@social.coopD This user is from outside of this forum
    django@social.coopD This user is from outside of this forum
    django@social.coop
    wrote last edited by
    #1

    ActivityPub client developer experience is something like this.

    Building a coherent feed with stateful objects requires comparing an Activity from the inbox, with what’s in your outbox.

    #ActivityPub #c2s #DevEx

    django@social.coopD 1 Reply Last reply
    1
    0
    • ? Guest crossposted this topic to General Discussion
    • django@social.coopD django@social.coop

      ActivityPub client developer experience is something like this.

      Building a coherent feed with stateful objects requires comparing an Activity from the inbox, with what’s in your outbox.

      #ActivityPub #c2s #DevEx

      django@social.coopD This user is from outside of this forum
      django@social.coopD This user is from outside of this forum
      django@social.coop
      wrote last edited by
      #2

      Of course implementations may vary but the spec isn’t clear, so let’s improve this, yeah! https://github.com/swicg/activitypub-api/issues/52

      django@social.coopD 1 Reply Last reply
      0
      • django@social.coopD django@social.coop

        Of course implementations may vary but the spec isn’t clear, so let’s improve this, yeah! https://github.com/swicg/activitypub-api/issues/52

        django@social.coopD This user is from outside of this forum
        django@social.coopD This user is from outside of this forum
        django@social.coop
        wrote last edited by
        #3

        There isn’t anything that says my server should return the latest known state of a post, including my interactions with it.

        And sure, I can refetch any activity from the inbox via proxyUrl (except non-public), but nothing guarantees my server will add the current remote state of a post to its internal representation and return this.

        So this forces a thick client situation, to have what should be fairly standard User Experience.

        mariusor@metalhead.clubM 1 Reply Last reply
        0
        • tag-activitypub@relay.fedi.buzzT tag-activitypub@relay.fedi.buzz shared this topic
        • django@social.coopD django@social.coop

          There isn’t anything that says my server should return the latest known state of a post, including my interactions with it.

          And sure, I can refetch any activity from the inbox via proxyUrl (except non-public), but nothing guarantees my server will add the current remote state of a post to its internal representation and return this.

          So this forces a thick client situation, to have what should be fairly standard User Experience.

          mariusor@metalhead.clubM This user is from outside of this forum
          mariusor@metalhead.clubM This user is from outside of this forum
          mariusor@metalhead.club
          wrote last edited by
          #4

          > There isn’t anything that says my server should return the latest known state of a post, including my interactions with it.

          @django yes there is. When a client fetches the ID of an object, be it activity or regular Note/Article/Image/etc you receive the "canonical version" of that object. All the interactions that were ever operated on that object should be reflected on its representation. I think you're overcomplicating things...

          django@social.coopD 1 Reply Last reply
          0
          • mariusor@metalhead.clubM mariusor@metalhead.club

            > There isn’t anything that says my server should return the latest known state of a post, including my interactions with it.

            @django yes there is. When a client fetches the ID of an object, be it activity or regular Note/Article/Image/etc you receive the "canonical version" of that object. All the interactions that were ever operated on that object should be reflected on its representation. I think you're overcomplicating things...

            django@social.coopD This user is from outside of this forum
            django@social.coopD This user is from outside of this forum
            django@social.coop
            wrote last edited by
            #5

            @mariusor ok, and what if the remote server doesn’t expose a likes endpoint? (the server may just not support, or the actor hides it)

            Or even if it does, you have to get the collection page to find your actor. And that’s just likes, now add Announces, Bookmarks, and the whole context and reply chain.

            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