Newer Version Available

This content describes an older version of this product. View Latest

Likes Resource

Information about the specified like. Also used to delete a like.

You can find the ID for a specific like from any feed, such as a news feed or a record feed.

Like

Resource
1/chatter/likes/likeId
Available since version
23.0
HTTP methods
GET, DELETE or HEAD
Response body for GET or HEAD
Like
Example response body
1{
2   "id": "0I0D000000003KeKAI",
3   "likedItem": {
4      "id": "0D5D0000000IPZuKAO",
5      "url": "/services/data/v30.0/chatter/feed-items/0D5D0000000IPZuKAO"
6   },
7   "url": "/services/data/v30.0/chatter/likes/0I0D000000003KeKAI",
8   "user": {
9      "companyName": "Universal Containers",
10      "firstName": "Deanna",
11      "id": "005D0000001LL8OIAW",
12      "isActive": true,
13      "lastName": "Li",
14      "motif": {
15         "largeIconUrl": "/img/icon/profile64.png",
16         "mediumIconUrl": "/img/icon/profile32.png",
17         "smallIconUrl": "/img/icon/profile16.png"
18      },
19      "mySubscription": null,
20      "name": "Deanna Li",
21      "photo": {
22         "fullEmailPhotoUrl": "https://instance_name/ncsphoto/SqRfG_-PUTY6KtfOp_f0cEw-MQI3xmkJ21oNEOQ-5saBc65JKjmm4DaxyLRr1XQK",
23         "largePhotoUrl": "https://instance_name/profilephoto/729D00000000LJF/F",
24         "photoVersionId": "729D00000000LJFIA2",
25         "smallPhotoUrl": "https://instance_name/profilephoto/729D00000000LJF/T",
26         "standardEmailPhotoUrl": "https://instance_name/ncsphoto/SqRfG_-PUTY6KtfOp_f0cEw-MQI3xmkJ21oNEOQ-5sZNDZe0BfzuOg1WyB6Vo-DB",
27         "url": "/services/data/v30.0/chatter/users/005D0000001LL8OIAW/photo"
28      },
29      "title": null,
30      "type": "User",
31      "url": "/services/data/v30.0/chatter/users/005D0000001LL8OIAW",
32      "userType": "Internal"
33   }
34}