我在頁面上放置的「喜歡」插件顯示該按鈕被直接點擊的次數,以及頁面URL被共享或Like已被評論的次數。你如何得到URL(喜歡和分享)的總喜歡?
當我使用Graph API檢查我的對象時,它只顯示直接「喜歡」點擊次數。下面是一個例子對象:
{
"id": "17678692xxxxxxx",
"name": "The Dali Lama Returns",
"picture": "http://profile.ak.fbcdn.net/hprofile-ak-snc4/161984_176786925772923_6855xxxxxxx.jpg",
"link": "http://mysite.com/8/the-dali-lama-returns",
"likes": 1,
"app_id": 478xxxxxxx,
"category": "Unknown",
"is_published": true,
"description": "The Dali Lama will speak, and we will listen.",
"about": "The Dali Lama will speak, and we will listen.",
"can_post": true
}
這意味着有人點擊我的喜歡按鈕後,並寫等的評論,該按鈕,將顯示「2」計數,但我的對象將只顯示一個數。
有沒有辦法讓按鈕在我的頁面上顯示完整的「贊」計數?
可能重複(http://facebook.stackoverflow.com/questions/5699270/how-to-get-share-counts-using- [如何使用圖形API來獲取份額數]圖-API) – ifaour 2012-03-17 11:15:34