2

As both Legacy REST API and Facebook Query Language (FQL) will no longer be available after 7th August I am looking for an API Graph v2.6 based on alternative to:

So far, this is my v2.6 current equivalent: https://graph.facebook.com/v2.6/?id=YOUR_URL&fields=og_object{engagement},share{share_count}&access_token=YOUR_TOKEN Nevertheless og_object{engagement} count and share_count seem to maintain some total count instead of like and share counts, respectively (see: https://developers.facebook.com/docs/graph-api/reference/v2.6/url).

Please does anybody know how to get Facebook share, like and comment counts for a given URL with API Graph v2.6? Many thanks in advance!

Daniel García Baena
  • 1,191
  • 4
  • 19
  • 33

1 Answers1

3

Finally I reported a bug on https://developers.facebook.com Here is the response:

  • In relation to Legacy REST API and Facebook Query Language (FQL) officially they will stop working after 7th August 2016.
  • Secondly, about count and share_count, any engagement on a shared link on Facebook (including likes and comments) is considered as additional shares, as the people who like and comment on the shared link also generate a story for their action on their own timelines. To illustrate this further, I paste a quote from current Facebook Engineer:

(...) if person A shares a link (for example, http://fb.me/), this generates a story on person A's timeline. If person B comments on this story, this in turn generates a story on person B's timeline. Querying /?id= via the Graph API would then return a share_count of 2.

I hope it helps.

Daniel García Baena
  • 1,191
  • 4
  • 19
  • 33
  • So there is no way to get like count without an access token? – rafaelmorais Sep 07 '16 at 09:47
  • 1
    If Legacy REST API and FQL are now officially deprecated, no. But it just takes a few minutes to create a new app in order to use its access token – Daniel García Baena Sep 07 '16 at 11:04
  • I see, thats what I've done. I've created and app and used the Graph API with a newly created access token. – rafaelmorais Sep 07 '16 at 11:17
  • So there is *no way* to get shares, likes, comments as before? This is so frustrating, the FQL returned exactly what we needed before. So, *somewhere* the likes & comments are being tracked separately from shares. Surely there must be some way to get this info still? – Greg H Sep 09 '16 at 17:53
  • It seems to me that Facebook is working in something more urgent now and they have had no time to implement this in the API Graph yet – Daniel García Baena Sep 10 '16 at 19:35