I have a question about the `liked` collection in the #ActivityPub specification.
-
wrote on 11 Sept 2024, 03:29 last edited by
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 -
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/#likeswrote on 11 Sept 2024, 04:25 last edited by@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!
Spec contradicts itself when describing what the `liked` collection should contain · Issue #317 · w3c/activitypub
Thanks to @tuxether for being inquisitive which led me to this. §5.5 Liked states: Every actor MAY have a liked collection. This is a list of every object from all of the actor's Like activities, added as a side effect. §5.7 Likes has a ...
GitHub (github.com)
-
wrote on 11 Sept 2024, 04:27 last edited by
@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.
-
wrote on 11 Sept 2024, 04:37 last edited by
@julian Good to know, thank you!
-
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/#likeswrote on 11 Sept 2024, 07:09 last edited by@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
-
@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
wrote on 11 Sept 2024, 07:42 last edited by@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 @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.
wrote on 11 Sept 2024, 08:12 last edited by@unexpectedteapot Thank you. Indeed I missed that distinction, sorry for the noise @hongminhee.