| FBML has been deprecated. Starting June 1, 2012 FBML apps will no longer work as all FBML endpoints will be removed. If you are building a new application on Facebook.com, please implement your application using HTML, JavaScript and CSS. You can use our JavaScript SDK and Social Plugins to embedded many of the same social features available in FBML. |
Renders the content of the tag as a link that, when clicked, initiates a dialog requesting the specified extended permissions from the user. You can prompt the user for a series of permissions.
If the user has already granted a permission, a dialog for that permission does not appear. If the user has not already authorized the application before clicking the link, he or she is prompted to authorize it before being prompted for the permission.
You can prompt a user to approve the following extended permissions for your application:
| Name | Type | Description |
|---|---|---|
| perms | string | A comma-separated string representing the extended permissions being requested. Specify any of the following permissions: |
| next_fbjs | string | The FBJS that will be called if the user grants the requested permission. |
Whether you are formatting this tag as FBML or XFBML, it requires a closing tag.
<fb:prompt-permission perms="email">Would you like to receive email from our application?</fb:prompt-permission>
<fb:prompt-permission perms="read_stream,publish_stream">Would you like our application to read from and post to your News Feed?</fb:prompt-permission>