whitelisted_domains
Referencewhitelisted_domains
is a property of the Messenger Profile API. For information on retrieving, setting, updating, and deleting whitelisted_domains
, see the Messenger Profile API Reference.
The whitelisted_domains
property of your bot's Messenger profile specifies a list of third-party domains that are accessible in the Messenger webview for use with the Messenger Extensions SDK, the Checkbox Plugin, and the Customer Chat Plugin.
To set or update the domain whitelist you must have the 'Administrator' role for the Page associated with the bot.
Os domínios devem atender aos seguintes requisitos para serem incluídos na lista de liberação:
Exibidos com HTTPS
Use um nome de domínio totalmente qualificado, como https://www.messenger.com/. Não há suporte para endereços IP e localhost em listas de liberação.
In addition to using the Messenger Profile API, Page admins may also update their domain whitelist in Page settings by doing the following:
whitelisted_domains
Format{
"whitelisted_domains":[
"<WHITELISTED_DOMAIN>",
"<WHITELISTED_DOMAIN>",
...
]
}
Property | Type | Description |
---|---|---|
| Array<String> | A list of domains being used. All domains must be valid. Up to 50 domains allowed. |
Chamadas para a API de perfil do Messenger são limitadas a 10 chamadas de API a cada intervalo de 10 minutos. Esse limite de taxas é aplicado por página.