我想顯示喜歡我的fb頁面的用戶數量。我怎樣才能從Facebook獲得這個數字。任何幫助,將不勝感激。如何通過facebook api獲取我的頁面上的喜歡總數
1
A
回答
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
}
}
1
查看下面的答案。我相信你會做到這一點的想法。
How do you get the total likes for a URL (Likes and Shares)?
+0
感謝Bunyip,他們都是有用的,但它比所有的都更簡單。 https://graph.facebook.com/ <您-APP-名>。我會將其作爲答案發布 –
相關問題
- 1. 如何獲取頁面喜歡在Facebook的頁面總頁數API 2.8版
- 2. 請求獲取v2.3中Facebook頁面喜歡的總數API
- 3. 用於獲取喜歡facebook頁面總數的API
- 4. 如何通過xcode喜歡Facebook頁面?
- 5. iOS,如何喜歡Facebook上的頁面?
- 6. 如何獲取照片上的Facebook喜歡的總數?
- 7. 如何通過我的網址喜歡Facebook頁面?
- 8. 我的Facebook頁面喜歡的頁面
- 9. 獲取Facebook的喜歡通過JavaScript SDK
- 10. Facebook的喜歡按鈕:所有頁面顯示'0喜歡'或'{總數}喜歡'
- 11. 通過Facebook API獲取喜歡的數量
- 12. Facebook的圖形API:如何獲得通過誰喜歡其他頁面
- 13. 獲取總喜歡的Facebook應用程序頁面
- 14. 如何通過Facebook API獲取朋友喜歡
- 15. 如何獲得Facebook的喜歡數Facebook的頁面?
- 16. Facebook圖形API:獲取喜歡的朋友的總數
- 17. 如何在Android上喜歡Facebook頁面?
- 18. 如何通知Facebook的人誰喜歡我的貼子在Facebook頁面喜歡我的網頁?
- 19. Facebook API:最喜歡的頁面列表
- 20. Facebook:如何獲得任何頁面總喜歡,收視率?
- 21. 使用RestFB API獲取FB頁面上的帖子喜歡數
- 22. 如何獲得喜歡我的Facebook頁面的用戶列表?
- 23. 的Facebook頁面喜歡
- 24. 在喜歡的事件上獲取Facebook頁面名稱
- 25. 通過API獲取YouTube視頻的喜歡/不喜歡的數量?
- 26. Graph API |獲取Facebook頁面成員/喜歡
- 27. Facebook Graph API v2.10頁面喜歡
- 28. FaceBook Graph API調用喜歡頁面
- 29. 使用FB API獲取頁面喜歡的頁面?
- 30. 總是顯示喜歡頁面的人
@Bunyip 我檢查的洞察力文檔,https://developers.facebook.com/docs/reference/api/user/文檔和搜索計算器,但我din't找到它的任何地方 所以請幫助或至少刪除downvote,以便其他人可以提供幫助。 –