Fb:visible-to-connection

From Facebook Developers Wiki

Jump to: navigation, search

Contents

[edit] Description

Use this tag to display the content inside the tag on a user's or a Facebook Page's profile only if the viewer is a friend of that user or is a fan of that Facebook Page.


[edit] Attributes

RequiredNameTypeDescription
optional bgcolor color The color of the blank box shown to viewers who are not friends of the user or fans of the Page.


[edit] Examples

<fb:visible-to-connection uid="12345">Welcome, fans!</fb:visible-to-connection>


[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.