Like ボタンの total_count 数を返そうとすると問題が発生します。私たちのアプリケーションは Like ボタンと Open Graph タグを管理しています。いくつかの URL の Like カウントを取得しようとしていますが、OG タグ情報なしでシェアを返しています。
例: https://graph.facebook.com/?id=http://www.fruitilike.com/products/shares-debug6/
戻り値:
{
"id": "http://www.fruitilike.com/products/shares-debug6/",
"shares": 1
}
動作の例: https://graph.facebook.com/?id=http://www.fruitilike.com/products/apple
戻り値:
{
"id": "114182628680532",
"name": "Apple",
"picture": "http://profile.ak.fbcdn.net/hprofile-ak-snc4/187789_114182628680532_2291233_s.jpg",
"link": "http://www.fruitilike.com/products/apple",
"likes": 1,
"app_id": 102729306450470,
"category": "Food",
"is_published": true,
"description": "The Apple. When it falls from a tree it generates gravity.",
"about": "The Apple. When it falls from a tree it generates gravity."
}