EDIT: По состоянию на 12 апреля 2016 Facebook опубликовал реакции конечных точек на должности в рамках их v2.6 выпуска GET /v2.6/{object-id}/reactions GraphAPI
Более подробную информацию можно найти здесь: https://developers.facebook.com/docs/graph-api/reference/post/reactions
END EDIT
Я не уверен, если Facebook опубликовал это еще, но информация о реакции в настоящее время доступна в API v2.5 Graph. Я вставил ответ ниже. Я достиг этого результата, нажав на точку доступа. Для каждого объекта, указанного в ответе ниже, взгляните на свойство 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"
}
Там нет никакого способа, как сейчас, реакции перекатываться сегодня. Скорее всего, он скоро придет к API. – luschn
Нет официального слова из facebook, когда они будут доступны, но я уверен, что они либо полностью удалят реакции, либо предоставят преимущество для получения данных. – jimplode
просто подождите, пока он появится в журнале изменений: https://developers.facebook.com/docs/apps/changelog – luschn