0
如果獲得所需的使用權限,如何獲得用戶與fql有關係或已婚的人的使用情況? 我需要獲取用戶與用戶的用戶ID ..我正在使用php sdk如何使用php sdk獲得與用戶關係或提交或結婚的人的使用方法
如果獲得所需的使用權限,如何獲得用戶與fql有關係或已婚的人的使用情況? 我需要獲取用戶與用戶的用戶ID ..我正在使用php sdk如何使用php sdk獲得與用戶關係或提交或結婚的人的使用方法
您正在查找的信息位於用戶Graph API端點中。它被稱爲significant_other
。您可以到use it with the API,這樣的 -
https://graph.facebook.com/user_id?fields=id,name,significant_other
隨着FQL可以使用significant_other_id
field of the user table.這樣的 -
select uid, name,significant_other_id from user where uid=user_id