-
Notifications
You must be signed in to change notification settings - Fork 22
Retrieve post likes
Onur Akpolat edited this page Nov 4, 2016
·
1 revision
Endpoint
GET https://api.tapglue.com/0.4/posts/:PostID/likes
Example
curl https://api.tapglue.com/0.4/posts/:PostID/likes \
-u APP_TOKEN:SESSION_TOKEN \
-H 'Accept: application/json' \
-H "User-Agent: Tapglue Test UA"
Response
{
"likes": [
{
"id": "16195913517109150",
"post_id": "16195891136303750",
"user_id": "15306973381660642",
"created_at": "2015-12-21T11:38:56.721868229Z",
"updated_at": "2015-12-21T11:38:56.721868229Z"
}
],
"likes_count": 1,
"users": {
"15306973381660642": {
"id_string": "15306973381660642",
"id": 15306973381660642,
"social_ids": {
"facebook": "fb12345"
},
"user_name": "Xyla",
"first_name": "Sylvester",
"last_name": "Colon",
"email": "xyla@mail.com",
"last_login": "2015-12-15T08:28:07.117862462Z",
"metadata": {
"key": "value"
},
"created_at": "2015-12-15T08:28:07.258975629Z",
"updated_at": "2015-12-15T08:28:07.258975629Z",
"enabled": true
}
},
"users_count": 1
}