开发者

Get family relationships from Facebook

开发者 https://www.devze.com 2023-01-31 08:57 出处:网络
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.

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

精彩评论

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