Fb:if-is-own-profile

From Facebook Developers Wiki

Jump to: navigation, search

Contents

[edit] Description

This tag is deprecated, since if- tags are no longer allowed on profile pages.

It was used to display content inside only if the viewer of the profile matches the profile owner.[verify]

See also/instead fb:visible-to-user


[edit] Examples

<fb:if-is-own-profile> Welcome back to your profile! <fb:else>This is not your profile.</fb:else> </fb:if-is-own-profile>


[edit] Notes

  • As of FBML v1.1 you can use this tag only on a canvas page.
  • error=Not allowed in profile. How to replace this?


[edit] See Also

You can see a real world example of this tag in the Who's Showing Up demo application. Go to Demos for more details and to download and install the demo apps.