Search code examples
facebookfacebook-graph-apifb-graph

FB Graph API - Tried accessing nonexisting field (reactions) on node type (Photo)


I am working with FB Graph API to get the names of the users who like or react to my post. By using

get/version/{post-id}/likes

I have been able to get the names and IDs of all likers. Now I also want to get other reactions i.e. HAHA or Love reactions, but when I use get/version/{post-id}/reactions I get this error

{
  "error": {
    "message": "(#100) Tried accessing nonexisting field (reactions) on node type (Photo)",
    "type": "OAuthException",
    "code": 100,
    "fbtrace_id": "Abwl9IBIxglskXT3yivpWUm"
  }
} 

Is it possible to get all reactions or not? The users will authorize the app so that's not a problem.


Solution

  • So basically after 3 days of wait, I got no answer. So I decided to post an answer myself. What I found in these 3 days is that it is not possible to get all the reactions. Likes and Care are the only data you will get.

    If I ever found a way to get it all, I will update the answer.