fbbotw.post_domain_whitelist

fbbotw.post_domain_whitelist(whitelisted_domains)[source]

Sets the whistelisted domains for the Messenger Extension

Usage:
>>> # Define the array of domains to be whitelisted (Max 10)
>>> whistelisted_domains = [
        "https://myfirst_domain.com",
        "https://another_domain.com"
    ]
>>> fbbotw.post_domain_whitelist(
        whitelisted_domains=whitelisted_domains
    )
Parameters:

whitelisted_domains (list) – Domains to be whitelisted (Max 10).

Returns:

Response object

Facebook docs:

/domain-whitelisting