This is one of many protocol behaviors described in ActivityPub.

Identifier

urn:uuid:d2db8da3-25d4-4dd9-9c9c-b2793fd899cf

Content

The liked collection MUST be either an OrderedCollection or a Collection

Origin

prefix 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.

The liked collection MUST be either an OrderedCollection or a Collection
 
suffix and MAY be filtered on privileges of an authenticated user or as appropriate when no authentication is given.

https://www.w3.org/TR/activitypub/

JSON

{
  "id": "urn:uuid:d2db8da3-25d4-4dd9-9c9c-b2793fd899cf",
  "type": "Behavior",
  "uuid": "d2db8da3-25d4-4dd9-9c9c-b2793fd899cf",
  "content": "The liked collection MUST be either an OrderedCollection or a Collection\n",
  "origin": {
    "source": "https://www.w3.org/TR/activitypub/",
    "section": {
      "id": "https://www.w3.org/TR/activitypub/#liked",
      "branch": [
        5,
        5
      ]
    },
    "selector": {
      "type": "TextQuoteSelector",
      "prefix": "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.\n",
      "exact": "The liked collection MUST be either an OrderedCollection or a Collection\n",
      "suffix": "and MAY be filtered on privileges of an authenticated user or as appropriate when no authentication is given.\n"
    }
  },
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    "https://socialweb.coop/ns/testing/context.json"
  ]
}