问题描述
当我尝试在 Facebook Graph API 上获取我所有的喜欢"(以前的粉丝页面)时,有时它会返回一个空集:
When I try to get all my "likes" (formerly fan pages) on Facebook Graph API, sometimes it returns me an empty set:
{
"data": [
]
}
我尝试了 https://graph.facebook.com/me/likes?access_token=MY_ACCESS_TOKEN 和 graph.facebook.com/vinch/likes?access_token=MY_ACCESS_TOKEN 但结果完全一样(空).
I tried with https://graph.facebook.com/me/likes?access_token=MY_ACCESS_TOKEN and with graph.facebook.com/vinch/likes?access_token=MY_ACCESS_TOKEN but the result is exactly the same (empty).
知道它可以是什么吗?我需要它知道用户是否喜欢(是)特定页面.
Any idea of what it can be? I need it to know if a user likes (is fan of) a specific page.
推荐答案
为您的应用程序添加 user_likes 权限
add user_likes permission to your application
这篇关于Facebook Graph API - 喜欢返回一个空集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!