I have a question about the `liked` collection in the #ActivityPub specification.
-
洪 民憙 (Hong Minhee)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 -
-
@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.
-
洪 民憙 (Hong Minhee)replied to julian on 11 Sept 2024, 04:37 last edited by
@julian Good to know, thank you!
-
mariusreplied to 洪 民憙 (Hong Minhee) on 11 Sept 2024, 07:09 last edited by mariusor@metalhead.club 9 Nov 2024, 07:09
@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
-
unexpectedteapotreplied to marius 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.
-
mariusreplied to unexpectedteapot on 11 Sept 2024, 08:12 last edited by
@unexpectedteapot Thank you. Indeed I missed that distinction, sorry for the noise @hongminhee.
Post 2 of 7