Can I get a stock counter for a message as a page?

I am trying to collect statistics on posts posted on a Facebook page. Right now, I can easily track the number of comments and comments in the mail, but the stock is eluding me, and I wonder if this is still possible.

I checked the API graphs and FQL tables and could not find the obvious solution. The end point of the chart // [PAGE_ID] / feed ", as well as the end point for the post itself, shows comments and likes quite clearly, but nothing about the stocks. In addition, the end point (undocumented?)" / [PAGE_ID] _ [POST_ID] / insights "provides some rather cryptic data about mail clicks, but nothing is reported about promotions. Finally, the FQL" flow "table again explicitly provides data about comments and likes, but not about shared resources.

This is a rather noticeable piece of data that will be missing, since the share that the data refers to will be a really interesting and useful metric in third-party social media management software ...

+4
source share
3 answers

It is available for posting on the page and as soon as it enters the insights section. This is a sample URL to do the job. Hope this works, and you have the necessary permissions and a valid access token.

read_insights : Provides read access to the Insights data for pages, applications, and domains the user owns. 

this url will return a json object that contains the number of liked, comments, stocks for your message. filter json and you can get stocks.

  https://graph.facebook.com/[pageid_postid]/insights/post_stories&access_token=[access_token] 

Hope this helps.

+3
source

Now you can access the stock account for the message. i.e:

 "shares": { "count": 1565 }, 
+2
source

Now it is available through the help section.

0
source

Source: https://habr.com/ru/post/1380883/


All Articles