ePrivacy and GPDR Cookie Consent by Cookie Consent Skip to main content

Facebook webhook

This article gives you knowledge of how webhooks send information from Facebook to Meiro Events.

Facebook is an online social media and social networking service company. Connecting Facebook and Webhooks allows you to receive real-time HTTP notifications of changes to specific objects in the Facebook Social Graph. For example, you may receive a notification when any of your app Users change their email address, whenever they comment on your Facebook Page, when a payment status has changed, when your ads changed, when a variety of interactions or events happen in Messenger, including when a person sends a message, etc.


You need to follow these key requirements to properly set up the webhook:

  • The endpoint must be able to process two types of HTTPS requests: Verification Requests and Event Notifications. Since both requests use HTTPs, the endpoint must have a valid TLS or SSL certificate correctly configured and installed. Self-signed certificates are not supported.

  • There are many types of objects in the Facebook Social Graph, such as User objects and Page objects, so whenever you configure a Webhook you must first choose an object type. Since different objects have different fields, you must then subscribe to specific fields for that object type.

Learn more about: how to set Facebook webhook  


In Facebook webhook, Event Notifications are aggregated and sent in a batch with a maximum of 1000 updates. However, batching cannot be guaranteed so be sure to adjust the servers to handle each Webhook individually.

Examples of events in Facebook include:

  • Watch Posts - triggers when a new post is added;

  • Watch Photo - triggers when a new photo is added;

  • Watch Videos - triggers when a new video is added;

  • Messages - triggered when a custom integration page (bot) is messaged in Work Chat.

Examples of actions to perform within events:

  • Add to the custom audience

  • Remorse from the custom audience

Types of Facebook webhooks:

Endpoint: Event Notifications

This method is used for notifying about new photo in the user’s object you are subscribed to. Webkoon would send a POST request that would look like: 

Use cases

Here are practical use cases on how to generate Facebook webhooks with the Meiro Events:

  • Meiro CDP can keep up-to-date subscribers’ profile information whenever any of the app users make changes to their email address;

  • You may receive real-time updates when users click on a lead ad;

  • After the person finishes entering the payment details in the purchase flow, a Facebook webhook may be triggered to notify the user of a successful payment and the details of the order.