问题
I'm using a Facebook application that get all user likes in order to check if a given page is liked using
https://graph.facebook.com/{USER_ID}/likes?access_token={MY_ACCESS_TOKEN}
Everything works fine for me and for the most part of the users, except for some users, that return this:
{
"data": [
]
}
Why does it return an empty data? I already requested the authorization for user_likes in the application
回答1:
Apps only have access to a user's public information. Even with user_likes permission you will get no Likes data from a user that has set their Likes to private.
来源:https://stackoverflow.com/questions/19195443/facebook-graph-api-empty-data-when-getting-user-likes