1

我想显示喜欢我的 fb 页面的用户数量。我怎样才能从 facebook 获得这个号码。任何帮助,将不胜感激。

4

2 回答 2

2

找到了答案:

网址:https ://graph.facebook.com/your-app-name

结果将是这样的数组:

https://graph.facebook.com/facebook

{
"about": "Facebook's mission is to give people the power to share and make the world more open and connected.",
"category": "Product/service",
"company_overview": "Newsroom: http://newsroom.fb.com\nInvestor Relations: http://investor.fb.com/",
"founded": "February 4, 2004",
"is_published": true,
"talking_about_count": 246554,
"username": "facebook",
"website": "http://www.facebook.com/facebook",
"were_here_count": 0,
"id": "20531316728",
"name": "Facebook",
"link": "http://www.facebook.com/facebook",
"likes": 96358786,
"cover": {
   "cover_id": "10151496277356729",
   "source": "http://sphotos-a.ak.fbcdn.net/hphotos-ak-as2/s720x720/247388_10151496277356729_2043388331_n.jpg",
   "offset_y": 0,
  "offset_x": 0
    }
  }
于 2013-11-09T07:40:28.497 回答
1

请参阅下面的答案。我相信你会明白这样做的想法。

你如何获得一个 URL 的总点赞数(点赞数和分享数)?

如何获得一张照片上的 Facebook 点赞总数?

如何使用图形 API 获取共享计数

于 2013-11-09T07:32:28.233 回答