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 -
julian@community.nodebb.orgreplied to hongminhee@fosstodon.org on 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!
-
@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.
-
@julian Good to know, thank you!
-
mariusor@metalhead.clubreplied to hongminhee@fosstodon.org on 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
-
unexpectedteapot@social.linux.pizzareplied to mariusor@metalhead.club on 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@metalhead.clubreplied to unexpectedteapot@social.linux.pizza on last edited by
@unexpectedteapot Thank you. Indeed I missed that distinction, sorry for the noise @hongminhee.