Permission control is used to allow the user to add extended permissions, like sending upload images and status updates, to Facebook application. It is possible to define JavaScript code which will be executed and form id which will be submitted after permissions are confirmed by user. This example shows Permission class for adding 2 permissions (getting user email and getting user activities). For all details about the control, with descriptions of all optional properties, please visit: Facebook Extended Permissions Tutorial.