2013-11-09 42 views
1

我想顯示喜歡我的fb頁面的用戶數量。我怎樣才能從Facebook獲得這個數字。任何幫助,將不勝感激。如何通過facebook api獲取我的頁面上的喜歡總數

+0

@Bunyip 我檢查的洞察力文檔,https://developers.facebook.com/docs/reference/api/user/文檔和搜索計算器,但我din't找到它的任何地方 所以請幫助或至少刪除downvote,以便其他人可以提供幫助。 –

回答

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 
    } 
    } 
相關問題