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. I have a question about the `liked` collection in the #ActivityPub specification.

I have a question about the `liked` collection in the #ActivityPub specification.

Scheduled Pinned Locked Moved General Discussion
activitypubfedidev
7 Posts 4 Posters 1 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.
  • hongminhee@fosstodon.orgH This user is from outside of this forum
    hongminhee@fosstodon.orgH This user is from outside of this forum
    hongminhee@fosstodon.org
    wrote on last edited by
    #1

    I have a question about the `liked` collection in the #ActivityPub specification. According to section 5.5, the liked collection is “a list of every object from all of the actor's `Like` activities”, whereas the side note in section 5.7 says it is “a collection of `Like` activities performed by the actor”. What is the element type of the liked collection, `Object` or `Like`?

    • Section 5.5: https://www.w3.org/TR/activitypub/#liked
    • Section 5.7: https://www.w3.org/TR/activitypub/#likes

    #fedidev

    julian@community.nodebb.orgJ mariusor@metalhead.clubM 2 Replies Last reply
    0
    • hongminhee@fosstodon.orgH hongminhee@fosstodon.org

      I have a question about the `liked` collection in the #ActivityPub specification. According to section 5.5, the liked collection is “a list of every object from all of the actor's `Like` activities”, whereas the side note in section 5.7 says it is “a collection of `Like` activities performed by the actor”. What is the element type of the liked collection, `Object` or `Like`?

      • Section 5.5: https://www.w3.org/TR/activitypub/#liked
      • Section 5.7: https://www.w3.org/TR/activitypub/#likes

      #fedidev

      julian@community.nodebb.orgJ This user is from outside of this forum
      julian@community.nodebb.orgJ This user is from outside of this forum
      julian@community.nodebb.org
      wrote on last edited by
      #2

      @hongminhee@fosstodon.org nice catch!

      @evan@cosocial.ca and the rest of the SocialCG touched on this issue just last month and it's on its way to being fixed in due course!

      https://github.com/w3c/activitypub/issues/317

      julian@community.nodebb.orgJ 1 Reply Last reply
      0
      • julian@community.nodebb.orgJ julian@community.nodebb.org

        @hongminhee@fosstodon.org nice catch!

        @evan@cosocial.ca and the rest of the SocialCG touched on this issue just last month and it's on its way to being fixed in due course!

        https://github.com/w3c/activitypub/issues/317

        julian@community.nodebb.orgJ This user is from outside of this forum
        julian@community.nodebb.orgJ This user is from outside of this forum
        julian@community.nodebb.org
        wrote on last edited by
        #3

        @hongminhee@fosstodon.org the proposed amended text is as follows:

        > liked: Specifically a property of actors. This is a collection of objects liked by the actor, added to the collection as a side effect of delivery to the outbox.

        hongminhee@fosstodon.orgH 1 Reply Last reply
        0
        • julian@community.nodebb.orgJ julian@community.nodebb.org

          @hongminhee@fosstodon.org the proposed amended text is as follows:

          > liked: Specifically a property of actors. This is a collection of objects liked by the actor, added to the collection as a side effect of delivery to the outbox.

          hongminhee@fosstodon.orgH This user is from outside of this forum
          hongminhee@fosstodon.orgH This user is from outside of this forum
          hongminhee@fosstodon.org
          wrote on last edited by
          #4

          @julian Good to know, thank you!

          1 Reply Last reply
          0
          • hongminhee@fosstodon.orgH hongminhee@fosstodon.org

            I have a question about the `liked` collection in the #ActivityPub specification. According to section 5.5, the liked collection is “a list of every object from all of the actor's `Like` activities”, whereas the side note in section 5.7 says it is “a collection of `Like` activities performed by the actor”. What is the element type of the liked collection, `Object` or `Like`?

            • Section 5.5: https://www.w3.org/TR/activitypub/#liked
            • Section 5.7: https://www.w3.org/TR/activitypub/#likes

            #fedidev

            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 on last edited by
            #5

            @hongminhee they are distinct collections:

            * *Liked* belongs to actors: contains the objects that they have liked

            * *Likes* belongs to any type of object: contains Like activities from other actors having current object as an object

            unexpectedteapot@social.linux.pizzaU 1 Reply Last reply
            0
            • mariusor@metalhead.clubM mariusor@metalhead.club

              @hongminhee they are distinct collections:

              * *Liked* belongs to actors: contains the objects that they have liked

              * *Likes* belongs to any type of object: contains Like activities from other actors having current object as an object

              unexpectedteapot@social.linux.pizzaU This user is from outside of this forum
              unexpectedteapot@social.linux.pizzaU This user is from outside of this forum
              unexpectedteapot@social.linux.pizza
              wrote on last edited by
              #6

              @mariusor @hongminhee I think the confusion is whether Liked should contain Like(Object) the activity container or Object itself. In the definition it says objects, but in the note (second link) it says activities.

              mariusor@metalhead.clubM 1 Reply Last reply
              0
              • unexpectedteapot@social.linux.pizzaU unexpectedteapot@social.linux.pizza

                @mariusor @hongminhee I think the confusion is whether Liked should contain Like(Object) the activity container or Object itself. In the definition it says objects, but in the note (second link) it says activities.

                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 on last edited by
                #7

                @unexpectedteapot Thank you. Indeed I missed that distinction, sorry for the noise @hongminhee. 🙂

                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