是否可以获得一个页面帖子的份额?

是否可以获得一个页面帖子的份额?

问题描述:

我正在收集发布到Facebook页面上的帖子的统计信息。现在我可以轻松地跟踪发表的评论和喜欢的数量,但是分享不了我,我想知道是否还有可能。

I am trying to collect stats on posts published to a Facebook Page. Right now I am able to track the number of comments and likes on a post easily, but shares are eluding me, and I'm wondering if it's even possible yet.

我已经检查了图形API和FQL表,并没有找到一个明显的解决方案。图表端点/ [PAGE_ID] / feed以及帖子本身的端点显示非常明显的评论和喜好,但没有关于股票。此外,(无证件?)端点/ [PAGE_ID] _ [POST_ID] /见解提供了一些关于帖子点击的相当神秘的数据,但没有关于股票。最后,FQL流表再次清楚地提供了有关评论和喜欢的数据,但不提供关于股份的数据。

I have checked both the Graph API and the FQL tables and have not been able to find an obvious solution. The graph endpoint "/[PAGE_ID]/feed", as well as the endpoint for a post itself shows comments and likes quite plainly, but nothing about shares. Furthermore, the (undocumented?) endpoint "/[PAGE_ID]_[POST_ID]/insights" provides some fairly mysterious data about post "clicks", but nothing about shares. Finally, the FQL "stream" table again plainly provides data about comments and likes, but not about shares.

这是一个很显眼的数据丢失,因为分享计数页面的帖子将使第三方社交媒体管理软件中一个非常有趣的有用的指标...

It's quite a conspicuous piece of data to be missing, as the share counts for a Page's posts would make for a really interesting, useful metric in third-party social media management software...

它可用于页面帖子,以及它是如何在洞察部分下。这是完成工作的示例URL。希望这是工作,你有必要的权限和有效的访问令牌。

It is Available for a Page post and how ever it comes under the insights section. This is the sample url to accomplish the work. Hope this is work and you mush 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.

此URL将返回一个json对象,其中包含您的帖子的喜欢,评论,共享的数量。过滤json,您可以获得共享。

this URL will return a json object which contains number of likes, comments , shares for your post. filter the json and you can get shares.

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

希望这将有所帮助。