Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following will display the list of mutual friends  the session user and the request user have in common.

Code Block
languagehtml/xml
titlegetMutualFriends
<facebook.getMutualFriends>
	<userId>{$ctx:userId}</userId>
</facebook.getMutualFriends>

...

Related Facebook documentation:

https://developers.facebook.com/docs/reference/api/video/#!/docs/graph-api/reference/user/mutualfriends

Anchor
getUserDetails
getUserDetails
Retrieving user details

...

Code Block
languagehtml/xml
titleisFriend
<facebook.isFriend>
	<sourceUserId>{$ctx:sourceUserId}</sourceUserId>
	<targetUserId>{$ctx:targetUserId}</targetUserId>
</facebook.isFriend>

 Properties 

  • sourceUserId: ID of the person to be determined.
  • targetUserId: ID of the user to be checked with. 

...