开发者

Get family relationships from Facebook

How can I query a data on my friend's family relationships on Facebook (assuming they are visible to me normally)? Getting something like a JSON objec开发者_开发知识库t as the response would be fine.


Via graph API it will be:

https://graph.facebook.com/UID/family

which requires user_relationships/friends_relationships extended permissions

OR FQL

SELECT profile_id, relationship FROM family WHERE profile_id =


Family appears to be accessible as an array under the User class via FQL. See documentation here

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜