Fb:if-is-friends-with-viewer
From Facebook Developers Wiki
Contents |
[edit] Description
Displays the enclosed content only if the specified user is friends with the logged in user.
[edit] 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) |
[edit] 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> |
[edit] Notes
As of FBML v1.1 you can use this tag only on a canvas page.
