Reference Guide
facebook FBML Reference Guide Page 18 of 159
Fb:if-is-friends-with-viewer
Description
Displays the enclosed content only if the specified user is friends with the logged in user.
Attributes
Required Name Type Description
optional uid
int
The user ID to check. (default value is profile owner
[verify]
)
includeself
bool
Return true if viewer and uid specified are the same. (default value is true)
Examples
<fb:if-is-friends-with-viewer uid="12345">
Hey you guys are friends!
<fb:else>Did you know that you have something in common?</fb:else>
</fb:if-is-friends-with-viewer>
Notes
As of FBML v1.1 you can use this tag only on a canvas page.
www.yapish.com










