We’re attempting to build an api endpoint to receive a webhook from Instagram mentions. Leaving out the issues getting the Instagram webhook permissions approved by Facebook, my particular question is relating to the actual response data that is being sent by Facebook for the the webhook. While in development mode, Instagram/Facebook limits a developer’s ability to test a webhook to a function within the console of the Facebook app dashboard.
Our problem is that, we don’t seem to be able to receive a response from the tests initiated by the Facebook console test function. That said, we have exhausted reasonable explanations of why our Bubble endpoint is not consuming the webhooks.
The Bubble endpoint is setup and the Detect Response Data function seems to have worked as expected. When we click the Modify Types button, the API Workflow Request Data definition is exactly as defined by the Facebook reference documentation.
When we send a Postman test of the response data to our Bubble enddpoint, it is received just fine.
Given the data is received correctly by our Bubble endpoint via a Postman test, it would follow that there is something off with the Facebook console test function …or that would seem logical. To test this, Facebook provides a sample app that can be deployed on Heroku for the simple purpose of seeing the webhook response. We did this, and found that the Facebook test data was exactly the same as when we did a Postman test.
If not obvious, we checked the Bubble server logs and there are no entries when the test is sent from the Facebook console.
So given we know the Bubble endpoint works when data is sent from Postman, we also know the data sent from the Facebook console test is accurate, but does not even show in the server logs, our thinking now is that there may be something not handled well in the domain forwarding between our apps assigned domain name url and the “bubble app name” url. So we directed the Facebook test to our https://[appname].bubbleapps.io/version-test/api/1.1/wf/[endpoint_name] url
…but still no change.
So I’m reaching out to the community for any similar experiences or suggestions?