Fb:if-user-has-added-app
From Facebook Developers Wiki
Contents |
[edit] Description
Displays the enclosed content only if the specified user has added the application to their account.
[edit] Attributes
| Required | Name | Type | Description | |
| optional | uid | int | The user ID to check. (default value is loggedinuser) |
|---|
[edit] 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> |
[edit] 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.
