You might encounter instances in which you want to display specific content to your users depending on their profile status with your application। FBML allows you to distinguish between the application owner, users, application users (those who have granted full access to your application), and those who have added the application to their accounts।

  • <fb:visible-to-owner> displays content if the user is the owner। As a side note, if the user isn’t the owner, this displays whitespace।
  • <b:visible-to-user> displays content to the specified user।
  • <fb:visible-to-app-users> displays content if the user has granted full permissions to the application।
  • <fb:visible-to-added-app-users> displays content if the user has added the application to their account.

0 comments