Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top