Setting up a webhook to receive messages from Facebook and Instagram

Hi all!

I’m trying to set up receiving messages from the Meta ecosystem (Facebook, WhatsApp, Instagram) using webhooks

For WhatsApp, I found this video, which perfectly helped set up receiving test data

However, it didn’t work for Facebook and Instagram, although I can’t find any differences in the settings

Here are the steps I take:

  1. Webhook initialization.
    I specify the URL for the webhook, configure it to receive get message requests and return hub.challenge. I’ll say in advance that I’ve already tried to add / and /webhooks and /webhooks/, all this did not help in the end


photo_2024-06-12_14-45-13

As a result, the webhook is successfully initialized and we can clearly see the request from WhatsApp to our bubble application and the response to it

  1. Changing the request type and initializing with values

Next, we look at what Json Facebook plans to send to us and copy it. We change the endpoint type to post and initialize it using postmen with test data from Facebook


Initialization was successful, but when we send a test webhook from a Facebook page with exactly the same data, the data does not arrive and is not displayed in the bubble logs.

Has anyone encountered this or maybe have any ideas? Because mine already seems to be over

1 Like

Hey! Did you find a solution for this? I also want to set up the webhooks but can’t figure it out!

Still no(

1 Like

@darkpanda152 you have to remove /initialize from the endpoint on facebook and try again.

Hi, I had the same problem on one of my apps, I ended up using Supabase to manage events transmitted by Instagram.

Hey, we are facing same issue. Did you use supabase to setup everything backend or did you use it to just intialize call once? Can you please elaborate more on your response

I use it to identify the type of events returned by Instagram and pass it to the right endpoint on my Bubble application (using an edge-function). The structure of the JSON sent by Instagram can change depending on the type of event, so you can’t use a single endpoint on Bubble to handle everything.