从Facebook Open Graph“like”按钮捕获分析

时间:2010-05-11 18:51:34

标签: facebook facebook-like

有没有人知道如何使用“喜欢”按钮从Facebook分析中捕获 - 也就是说,如果我有数千个页面上有Like按钮,那么如何查询Facebook以查看有多少喜欢他们每个人都收到了?是否有针对此的Facebook API调用?

谢谢!

1 个答案:

答案 0 :(得分:3)

It's on their open graph documentation page here under "Programmatically administering your pages".

只需在“https://graph.facebook.com/?id= {URL}”

上进行GET

他们提供的例子:

https://graph.facebook.com/?ids=http://www.imdb.com/title/tt0117500/

返回一些json:

{
   "114324145263104": {
      "id": "114324145263104",
      "name": "The Rock (1996)",
      "picture": "http://profile.ak.fbcdn.net/hprofile-ak-sf2p/hs252.snc3/23275_114324145263104_2071_s.jpg",
      "link": "http://www.imdb.com/title/tt0117500/",
      "category": "Movie",
      "fan_count": 328
   }
}