Fb:visible-to-owner

From Facebook Developers Wiki

Jump to: navigation, search

Contents

[edit] Description

Displays content inside only if the viewer of the profile matches the profile owner.

This also works for Facebook Pages with the content only displayed to an admin of the Page.


[edit] Attributes

RequiredNameTypeDescription
bgcolor color The color of the blank box shown to users who are not the owner.


[edit] Examples

<fb:visible-to-owner> Welcome back to your profile! </fb:visible-to-owner>


[edit] Notes

  • This is new to FBML v1.1, make sure you wrap your code in <fb:fbml version="1.1"> and </fb:fbml>!.
  • 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 the profile owner. For those who are not the owner, the content is shown as white space on the page but it is still visible by viewing the page source.
  • This tag cannot be used to for controlled display elements like fb:subtitle