Facebook like checkGraph API, wie Facebook-Seite Mitglieder erhalten/mag
ich eine interessante App gefunden habe. Diese fb-app bekommt alle Likes von jeder Fanpage und sortiert sie nach Masse und Land!
Meine Frage:
wie diese App die Daten aus dem Diagramm api bekommen?
Erstens: erhalten die Fanpage-Objekt keine Zugriffstoken
https://graph.facebook.com/cocacola/
{
"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.",
"checkins": 146,
"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",
"is_published": true,
"location": {
"street": "",
"zip": "",
"latitude": 48.886763644968,
"longitude": 2.2428464993582
},
"talking_about_count": 903212,
"username": "coca-cola",
"website": "http://www.coca-cola.com",
"were_here_count": 0,
"category": "Food/beverages",
"id": "40796308305",
"name": "Coca-Cola",
"link": "https://www.facebook.com/coca-cola",
"likes": 58345623,
"cover": {
"cover_id": "10152037156953306",
"source": "http://sphotos-b.ak.fbcdn.net/hphotos-ak-ash4/s720x720/602289_10152037156953306_1443207674_n.jpg",
"offset_y": 0
}
}
zweite benötigt: Holen Sie die Gleichen aus dem Facebook-Objekt:
https://graph.facebook.com/cocacola/likes?access_token=xxxxxxx
jetzt bekomme ich alle fan-pages welche "cocacola" mögen, aber ich brauche alle nutzer die cocacola mögen!
Maby ist nur mit FQL-Abfrage möglich?
genau diese fb-Abfrage! thx @cpilko – mtt2p
Ich habe diese Lösung versucht und sogar mit einem gültigen access_token erhalte ich ein leeres Datenobjekt. –
Ich habe es gerade im [Graph API Explorer] (https://developers.facebook.com/tools/explorer?method=GET&path=coocola%2Finsights%2Fpage_fans_country) versucht und es funktioniert immer noch für mich. – cpilko