Name

<fb:visible-to-connection/>

Synopsis

<fb:visible-to-connection>...</fb:visible-to-connection>

Displays the content within the tags only if the user is a friend of the user whose profile they are visiting, or is a fan of the Facebook Page they are visiting. The content also renders for the profile owner and the Page admin.

FBML-Specific Attributes

Required

None.

Optional

bgcolor=[color] default: none

The background color in which the text rendered in the box will appear.

Example FBML

Here is example FBML code for <fb:visible-to-connection/>:

<fb:visible-to-connection> Thank you to my fans!
     </fb:visible-to-connection>

Rendered HTML for Single Instance of Tag

If the user is one of your Facebook friends or is a fan of the Page you are an admin of, or if you visit the profile or Page yourself, the rendered HTML looks like this:

Thank you to my fans!

Additional Information

  • Be careful not to use this tag to render sensitive information. The content rendered by this tag, whether shown in the browser or not, is always available in the source on the page.

  • This tag works only on a user’s profile.

  • See the description of <fb:visible-to-friends/> earlier in this chapter for another example. Note, however, that the <fb:visible-to-friends/> tag is much more limited, so it is recommended that you use the <fb:visible-to-connection/> tag.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
52.15.55.18