Like

By Fediverse Developer Network

https://fedidevs.org/projects/server-apps/kbin/activities/like/

The Like activity is effectively what is known as “like”, “favourite”. Activity is used with Note or Page objects.

Reference
ActivityLike
ObjectNote or Page

Internal logic

When Kbin receives a Like activity, it is the equivalent of adding a thread or comment to favorites. Content receives points that give it a higher position in the “hot” sorting

Example

In this example, bob add to favourites post from other instance.

{
  "@context": "https://www.w3.org/ns/activitystreams",
  "id": "https://lab.kbin.pub/f/object/81f06acf-dcda-4960-9110-5c1241c012f4",
  "type": "Like",
  "actor": "https://lab.kbin.pub/u/bob",
  "object": "https://mastodon.social/users/alice/statuses/109748348495832857"
}