开发者

how to fetch user interests from facebook via Graph API

开发者 https://www.devze.com 2023-03-13 13:17 出处:网络
$fql=\"select name, interests , hometown_location, sex, pic_square from user where uid=\" . $uid; I am 开发者_如何学Cusing this query to fetch the user\'s interests and info.
$fql    =   "select name, interests , hometown_location, sex, pic_square from user where uid=" . $uid;

I am 开发者_如何学Cusing this query to fetch the user's interests and info.

But i am getting only name hometown_location , sex etc.


You probably do not have the appropriate permissions: you need the user_interests permission for that. See https://developers.facebook.com/docs/reference/api/user/ for the permissions listing.

0

精彩评论

暂无评论...
验证码 换一张
取 消