How to access FB Page's new metric “are talkin

2019-03-22 04:32发布

FB makes this EdgeRank metric Public (shown on every page) - now how to access it to collect stats?

2条回答
放荡不羁爱自由
2楼-- · 2019-03-22 05:04

Facebook calls this "Stories"... Here's how you get it:

https://graph.facebook.com/PAGE_ID/insights/page_stories/day?access_token=ACCESS_TOKEN

So, you will replace PAGE_ID with the page ID you want to gather the data from... and then ACCESS_TOKEN with the access token.

You can also change the /day? to either /week? or /days_28? to gather that data specifically...

Other options for the story telling insights are:

page_stories page_storytellers page_stories_by_story_type page_storytellers_by_story_type page_storytellers_by_age_gender page_storytellers_by_country page_storytellers_by_locale

Hope that helps!

-Nick

查看更多
欢心
3楼-- · 2019-03-22 05:16

I asked the Facebook team about this a couple of weeks ago; it seems it was overlooked at the time and they would look into it. I just checked out the Graph API today and it appears to be in there now! Here is a quick way to request the data from the Graph API and have it return a JSON formatted result set:

If you want just the count of talking about you can use this format: https://graph.facebook.com/[PageID or Page Name]?fields=talking_about_count

Examples:

https://graph.facebook.com/techcrunch?fields=talking_about_count
https://graph.facebook.com/8062627951?fields=talking_about_count

Returns:

{
   "talking_about_count": 11937,
   "id": "8062627951"
}

You can also combine this with other fields:

https://graph.facebook.com/techcrunch?fields=name,category,likes,talking_about_count

Returns:

{
   "name": "TechCrunch",
   "category": "Company",
   "likes": 364886,
   "talking_about_count": 11937,
   "id": "8062627951"
}

Hope this helps, -Paul

查看更多
登录 后发表回答