You might find that you need to provide different content depending on where your users are accessing the application from। Facebook provides the following tags for displaying content inside the user’s profile box:

  • <fb:wide> displays content only when the profile box is the wide column।
  • <fb:narrow> displays the content only when the profile box is the narrow column।
  • <fb:profile-action> builds a link on the user’s profile under their photo। You’ll use this in conjunction with setFBML to send information to the user’s profile. As a note, there is a 30-character limit for the contents of this tag.
  • <fb:user-table> renders a table of the users (specified by the <fb:user-item> tag) you have specified। This tag works only on a user’s profile page (will not render on the canvas page).
  • <fb:user-item> defines a user for use inside the <fb:user-table> tag।
  • <fb:subtitle> defines a subtitle for the profile box.

0 comments