messaging_policy_enforcement
Webhook Event ReferenceAn app will receive this callback when a policy enforcement action will be oris taken on the page it manages. You can subscribe to this callback by selecting the messaging_policy_enforcement
field when setting up your webhook.
A policy enforcement will be taken on a page if it does not conform to Messenger Platform policy, fails to meet community standards or violates Facebook Pages guidelines. Common issues include spams, sending inappropriate messages (porn, suicide, etc), abusing tags, etc.
{ "recipient": { "id": "PAGE_ID" }, "timestamp": 1458692752478, "policy_enforcement": { "action": "block", "reason": "The bot violated our Platform Policies (https://developers.facebook.com/devpolicy/#messengerplatform). Common violations include sending out excessive spammy messages or being non-functional." } }
recipient
Proprietà | Tipo | Descrizione |
---|---|---|
| Stringa | L'ID della tua Pagina. |
policy_enforcement
objectField Name | Description | Type |
---|---|---|
|
| String |
| The reason for being warned or blocked. This field is absent if | String |