Thursday, February 8, 2018

Facebook: get OpenGraphStory reactions

Leave a Comment

I'm trying to retrieve the reactions on an open_graph_story.

According to the documentation, I should be able to just call:

{object-id}/reactions 

So I first I got my open_graph_story's id like this:

{page-id}/ratings?field=open_graph_story{id} 

And then I tried the reactions endpoint like above, but I end up with this error:

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

Apparently, the endpoint doesn't work with an open_graph_story (which is recognized as an OpenGraphAction by Facebook?). What should be the correct call?

0 Answers

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment