I have a question about the `liked` collection in the #ActivityPub specification.
-
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 -
-
@[email protected] nice catch!
@[email protected] 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)
-
-
@julian Good to know, thank you!
-
mariusreplied to 洪 民憙 (Hong Minhee) on last edited by [email protected]
@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
-
@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.
-
@unexpectedteapot Thank you. Indeed I missed that distinction, sorry for the noise @hongminhee.