| FBML has been deprecated. Starting June 1, 2012 FBML apps will no longer work as all FBML endpoints will be removed. If you are building a new application on Facebook.com, please implement your application using HTML, JavaScript and CSS. You can use our JavaScript SDK and Social Plugins to embedded many of the same social features available in FBML. |
Only displays the content inside the tag if the viewer is the specified user.
This also works for Facebook Pages with the content only displayed to an admin of the Page and the viewer is not on a Page profile.
| Name | Type | Description |
|---|---|---|
| uid | int | The uid of the user that is allowed to see the content. |
| bgcolor | color | The color of the blank box shown to users who are not the owner or the user specified. |
<fb:visible-to-user uid="12345">This is secret 4 u 2!</fb:visible-to-user>