我想在我的localhost中创建一个应用程序甚至一个页面来执行fanpage karma facebook rankings 所做的事情。
我不想要facebook的见解,因为我想拥有我想要的页面的kpi,图表/图表,排名和/或见解,就像fanpagekarma一样。
答案 0 :(得分:0)
大部分信息都可以通过
获得 graph.facebook.com/PAGE_ID,例如graph.facebook.com/cocacola
{
"id": "40796308305",
"about": "The Coca-Cola Facebook Page is a collection of your stories showing how people from around the world have helped make Coke into what it is today.",
"app_id": "0",
"can_post": false,
"category": "Food/beverages",
"checkins": 146,
"cover": {
"cover_id": "10152297032458306",
"source": "http://sphotos-f.ak.fbcdn.net/hphotos-ak-prn1/s720x720/625442_10152297032458306_574021701_n.jpg",
"offset_y": 0,
"offset_x": 0
},
"description": "Created in 1886 in Atlanta, Georgia, by Dr. John S. Pemberton, Coca-Cola was first offered as a fountain beverage at Jacob's Pharmacy by mixing Coca-Cola syrup with carbonated water. \n\nCoca-Cola was patented in 1887, registered as a trademark in 1893 and by 1895 it was being sold in every state and territory in the United States. In 1899, The Coca-Cola Company began franchised bottling operations in the United States. \n\nCoca-Cola might owe its origins to the United States, but its popularity has made it truly universal. Today, you can find Coca-Cola in virtually every part of the world.\n\nCoca-Cola Page House Rules: http://CokeURL.com/q28a",
"founded": "1886",
"has_added_app": false,
"is_community_page": false,
"is_published": true,
"likes": 64355037,
"link": "https://www.facebook.com/coca-cola",
"name": "Coca-Cola",
"talking_about_count": 1485039,
"username": "coca-cola",
"website": "http://www.coca-cola.com",
"were_here_count": 0
}
在KPI概述中,这将负责
然后当用户登录fanpagekarma时,可以使用对graph.facebook.com/page_id/posts的调用来获取
其余的详细分析只是对来自/ page_id / posts的数据进行一些数字处理