Ответ 1
EDIT: по состоянию на 12 апреля 2016 года Facebook опубликовал конечную точку реакции для сообщений как часть своего выпуска версии GraphAPI версии v2.6
GET/v2.6/{object-id}/reaction
Более подробную информацию можно найти здесь: https://developers.facebook.com/docs/graph-api/reference/post/reactions
END EDIT
Я не уверен, что Facebook опубликовал это еще, но информация о реакции в настоящее время доступна в Graph API v2.5. Я вставил ответ ниже. Я достиг этого результата, нажав на точку доступа. Для каждого объекта, указанного в ответе ниже, взгляните на свойство id, у него есть более детализированные конечные точки запроса.
GET /v2.5/{object-id}/insights
ОТВЕТ:
{
"name": "post_reactions_like_total",
"period": "lifetime",
"values": [
{
"value": 0
}
],
"title": "Lifetime Like Reactions",
"description": "Lifetime: The total number of like reactions to your post.",
"id": "{node_id}/insights/post_reactions_like_total/lifetime"
},
{
"name": "post_reactions_love_total",
"period": "lifetime",
"values": [
{
"value": 0
}
],
"title": "Lifetime Love Reactions",
"description": "Lifetime: The total number of love reactions to your post.",
"id": "{node_id}/insights/post_reactions_love_total/lifetime"
},
{
"name": "post_reactions_wow_total",
"period": "lifetime",
"values": [
{
"value": 0
}
],
"title": "Lifetime Wow Reactions",
"description": "Lifetime: The total number of wow reactions to your post.",
"id": "{node_id}/insights/post_reactions_wow_total/lifetime"
},
{
"name": "post_reactions_haha_total",
"period": "lifetime",
"values": [
{
"value": 0
}
],
"title": "Lifetime Haha Reactions",
"description": "Lifetime: The total number of haha reactions to your post.",
"id": "{node_id}/insights/post_reactions_haha_total/lifetime"
},
{
"name": "post_reactions_sorry_total",
"period": "lifetime",
"values": [
{
"value": 0
}
],
"title": "Lifetime Sorry Reactions",
"description": "Lifetime: The total number of sorry reactions to your post.",
"id": "{node_id}/insights/post_reactions_sorry_total/lifetime"
},
{
"name": "post_reactions_anger_total",
"period": "lifetime",
"values": [
{
"value": 0
}
],
"title": "Lifetime Anger Reactions",
"description": "Lifetime: The total number of anger reactions to your post.",
"id": "{node_id}/insights/post_reactions_anger_total/lifetime"
},
{
"name": "post_reactions_by_type_total",
"period": "lifetime",
"values": [
{
"value": {
"like": 0,
"love": 0,
"wow": 0,
"haha": 0,
"sorry": 0,
"anger": 0
}
}
],
"title": "Lifetime Reactions by type",
"description": "Lifetime: The total number of reactions to your post by type.",
"id": "{node_id}/insights/post_reactions_by_type_total/lifetime"
}