Facebook Webview Whitelisting
Last updated
Was this helpful?
Last updated
Was this helpful?
Facebook allows webviews to be shown within the conversation between a bot and a user. These webviews typically contain small applications that contain some logic that is not possible to show with the default Facebook templates - such as buttons and carousels.
If you add a webview for a Facebook Messenger bot, the domain that hosts this webview has to be whitelisted.
Follow Facebook's instructions for whitelisting a domain .
Only the domains that you enter as a webview in Chatlayer.ai have to be whitelisted. You can add a webview by adding a button template, and adding a new button with the type Webview
.
Fill in this template with the right copy and URL, and optional parameters that are passed on to the webview.