Name
<fb:visible-to-user/>
Synopsis
<fb:visible-to-user>...</fb:visible-to-user>
Displays the content within the tags only to the profile owner
and the specified user. If this tag is used on a Facebook Page, the
content renders to a specified fan as well as to the admin of the
page.
FBML-Specific Attributes
Required
uid=[int
] default:
none
The ID of the user for whom you would like to
display content. Note that this cannot
be a comma-separated list (as the
<fb:if-is-user/> tag can use) for
canvas pages.
Optional
bgcolor=[color] default:
none
The background color in which the text
rendered in the box will appear.
Example FBML
Here is example FBML code for
<fb:if-is-user/>
:
<fb:visible-to-user uid="0123456789"> You are user 0123456789.
</fb:visible-to-owner>
Rendered HTML for Single Instance of Tag
If you visit the app and you are either the user with the ID
0123456789 or the owner of the app, the rendered HTML looks like
this:
You are user 0123456789.
Additional Information
Be careful not to use this tag to render sensitive
information. The content rendered by this tag, whether shown in
the browser or not, is always available in the source on the
page.
This tag works only on a user’s profile.