我正在尝试为一家公司做一份研究论文,我需要看看他们的竞争对手Facebook的基本统计数据。我想知道是否有服务或Facebook链接会告诉我页面有多少喜欢?我明白我不能分解那些很好的统计数据。但我注意到这些页面我试图获得基本统计数据,要么隐藏统计数据,要么Facebook不再显示它?
答案 0 :(得分:0)
您可以通过向
发出请求来访问网页的见解统计信息/{page_id}/insights/page_fans_country?access_token={app_access_token}
/{page_id}/insights/page_storytellers_by_country?access_token={app_access_token}
您至少需要应用访问令牌才能请求统计信息:
任何有效的访问令牌都可用于公开可用的指标(目前为
page_fans_country
或page_storytellers_by_country
)。
CocaCola
页面的示例输出将在第一种情况下(用实际值替换{app_access_token}
和{page_id}
):
{
"data": [
{
"value": {
"BR": 7647998,
"US": 5235912,
"MX": 2226214,
"PH": 1580316,
"AR": 1470243,
"FR": 1318475,
"IN": 1216773,
"TH": 1152195,
"GB": 1045901,
"IT": 929906,
"ID": 751678,
"EG": 751109,
"ES": 743127,
"CO": 696836,
"AU": 691082,
"TR": 637989,
"CL": 563704,
"DE": 541448,
"PL": 520851,
"PK": 460125,
"VE": 447073,
"VN": 442866,
"IQ": 432159,
"PT": 431431,
"CA": 400651,
"RO": 388648,
"KH": 370813,
"PE": 335064,
"EC": 303637,
"BD": 282001,
"TW": 266267,
"PR": 250198,
"TZ": 245476,
"UY": 238471,
"MA": 232024,
"IE": 230698,
"BG": 227318,
"HR": 223257,
"ET": 213823,
"BO": 209638,
"MK": 202446,
"KR": 202340,
"CH": 196162,
"SA": 189885,
"UG": 187797
},
"end_time": "2015-06-02T07:00:00+0000"
}
],
"title": "Lifetime Likes by Country",
"description": "Lifetime: Aggregated Facebook location data, sorted by country, about the people who like your Page. (Unique Users)"
}
],
"paging": {
"previous": "https://graph.facebook.com/v2.3/cocacola/insights/page_fans_country?debug=all&limit=1&pretty=0&suppress_http_code=1&since=1432716363&until=1432975563",
"next": "https://graph.facebook.com/v2.3/cocacola/insights/page_fans_country?debug=all&limit=1&pretty=0&suppress_http_code=1&since=1433234763&until=1433493963"
}
}
此外,您可以通过
请求整体页面的统计信息/{page_id}?fields=id,name,likes,talking_about_count,were_here_count&access_token={app_access_token}
这将导致
{
"id": "40796308305",
"name": "Coca-Cola",
"likes": 90712576,
"talking_about_count": 345288,
"were_here_count": 0
}
用于CocaCola
页面。
见