Fb:is-in-network
From Facebook Developers Wiki
Contents |
[edit] Description
Displays content inside the tag only if the user is in a given network.
Note: You can use fb:else with fb:is-in-network, even though the tag does not start with fb:if-.
[edit] Attributes
| Required | Name | Type | Description | |
| required | network | int | The network ID to check. You can check one network at a time. | |
|---|---|---|---|---|
| optional | uid | int | The user ID to check. (default value is loggedinuser) |
[edit] Examples
| <fb:is-in-network network="16777229" uid="1230541">User 1230541, you are in the <fb:networklink nid="16777229" /> network!</fb:is-in-network> |
[edit] Notes
- This tag renders content on canvas pages and for notifications and feed stories. It doesn't work with profiles, email and notifications.
- You can use the fb:networklink FBML to display the name/link of the network.
