Fb:if-user-has-added-app
From Facebook Developer Wiki
Contents |
Description
With the launch of the new profile to users, this tag now behaves like fb:if-is-app-user, so start using fb:if-is-app-user instead.
Displays the enclosed content only if the specified user has added the application to their account.
Attributes
| Required | Name | Type | Description | |
| optional | uid | int | The user ID to check. (Default value is loggedinuser.) |
|---|
Examples
<fb:if-user-has-added-app uid="12345">
This user has put this app into his account.
<fb:else>That user hasn't put this app into his account.</fb:else>
</fb:if-user-has-added-app>
<fb:if-user-has-added-app>
Hey, welcome!
<fb:else>You must add this to your account to use it</fb:else>
</fb:if-user-has-added-app>
Notes
As of FBML v1.1 you can use this tag only on a canvas page.
This tag seems to work inside <fb:subtitle> on a profile page.
