几页的图谱API

时间:2013-07-06 22:10:03

标签: facebook facebook-graph-api facebook-fql

我需要知道如何获取有关facebook的多个页面的信息。 例如:

http://graph.facebook.com/http://www.porenvio.com

这只是一页。 但我想做点什么:

http://graph.facebook.com/http://www.porenvio.com & http://www.google.es & ...

1 个答案:

答案 0 :(得分:1)

您可以使用FQL执行此操作:

SELECT like_count, url 
  FROM link_stat 
 WHERE url = 'http://porenvio.com' 
    OR url = 'http://google.com'

结果:

{
  "data": [
    {
      "like_count": 1, 
      "url": "http://porenvio.com"
    }, 
    {
      "like_count": 1183262, 
      "url": "http://google.com"
    }
  ]
}

查看link_stat FQL表以查找更多字段:share_counttotal_count,...