Reference Guide

facebook FBML Reference Guide Page 19 of 159
Fb:if-is-group-member
Description
Displays the enclosed content only if the specified user is a member of the specified group.
Attributes
Required Name Type Description
required gid
int
The group ID.
optional uid
int
The user ID to check. (default value is loggedinuser)
role
string
The role to check. (Default value is member). Other valid values are officer, admin.
Examples
<fb:if-is-group-member gid="54321" uid="12345" role="admin">
Hey, you're an admin of that group!
<fb:else>Sorry, admins only!</fb:else>
</fb:if-is-group-member>
Notes
As of FBML v1.1 you can use this tag only on a canvas page.
www.yapish.com