Fb:if-is-user

From Facebook Developers Wiki

Jump to: navigation, search

Contents

[edit] Description

Only renders the content inside the tag if the viewer is one of the specified user(s).


[edit] Attributes

RequiredNameTypeDescription
required uid int The user ID of the user that is allowed to see the content. To match multiple users, pass in a comma-delimited list of uids.


[edit] Examples

<fb:if-is-user uid="uid1,uid2">This is secret 4 u 2!</fb:if-is-user>


[edit] Notes

As of FBML v1.1 you can use this tag only on a canvas page.