Fb:visible-to-friends
From Facebook Developers Wiki
Contents |
[edit] Description
Use this tag to display the content inside the tag on a user's profile only if the viewer is a friend of that user.
While this tag is still valid, you may find it more versatile to use fb:visible-to-connection, since it applies equally to user profiles and Facebook Pages.
[edit] Attributes
| Required | Name | Type | Description | |
| optional | bgcolor | color | The color of the blank box shown to viewers who are not friends of the user. |
|---|
[edit] Examples
| <fb:visible-to-friends uid="12345">Hello my friend!</fb:visible-to-friends> |
[edit] Notes
- This is new to FBML v1.1.
- Do not use this tag to display private or sensitive information. Content inside this tag is rendered to all users' browsers, including those who are not one of the specified users. For those who are not one of those users, the content is shown as white space on the page but it is still visible by viewing the page source.
- Content in this tag is also visible to the owner.
