I'm curious if it's possible to get the "friendship" information via the Facebook PHP API, meaning information about the friendship the logged in user and one of his friends share?

Information that is visible on this page:

https://www.facebook.com/profile.php?id=[YOUR ID]&and=[YOUR FRIENDS' ID]

Is this possible?

有帮助吗?

解决方案

Via the Graph API you can query the /me object. Two properties you will want relationship_status and significant_other. I don't see where it specifies the "how long" part. Not from the Graph API nor from FQL.

Also see me/family in the graph.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top