質問

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