Fb:if-is-verified

From Facebook Developer Wiki

Jump to: navigation, search

Description

Displays the enclosed content only if Facebook has verified the current user. You should use this tag with fb:else to provide alternate content in case Facebook has not verified the user.

Important

  • You may never disclose a user's verified state anywhere in your application or on Facebook, whether to that user or the user's friends.
  • You should use this tag to gate elements in your application that already are privacy-controlled. Do not use this tag to gate content like rendered user data, as a savvy user can view the source and see what's hidden.

Examples

<fb:if-is-verified> Here's some content. <fb:else>Let's show you this instead.</fb:else> </fb:if-is-verified>

See Also

reference