Fb:if-is-app-user

From Facebook Developers Wiki

Jump to: navigation, search

Contents

[edit] Description

Displays the enclosed content only if the specified user has accepted the terms of service of the application. Use <fb:if-user-has-added-app> to determine whether the user has added the application to their account.


[edit] Attributes

RequiredNameTypeDescription
optional uid int The user ID to check. (default value is loggedinuser)


[edit] Examples

<fb:if-is-app-user uid="12345"> Here's the user's score: 55555! <fb:else>That user hasn't signed up for the app!</fb:else> </fb:if-is-app-user>


<fb:if-is-app-user> Your score: 55555! <fb:else>You should sign up and play!</fb:else> </fb:if-is-app-user>


[edit] Notes

As of FBML v1.1 you can use this tag only on a canvas page.