Problem
Facebook requires an App to be set up to connect to external webhooks.
...
Panel |
---|
|
Follow the steps below
- Go to https://developers.facebook.com/
- Create an App

 - Select the "Webhook" product
- Change the dropdown to "Page"
 - Click the "Subscribe to this object" button
- The "Call back URL" is: https://demo.taskflow.co.za/facebook/lead/callback
- Replace "demo" with the name of your TaskFlow server instance
- The "Verify token" is: Facebook_leads

- Subscribe to "leadgen"
 - This app will need to be reviewed and Approved by Facebook to be used in Production. Go to "App Review" → "Permissions and Features" → Request advanced access to "leads_retrieval"
- Please ensure your Business is Verified
- Please complete the ENTIRE application review form
- From prior cases, in the "Verification Details" section, simply putting "Currently testing using the following tool: <https://developers.facebook.com/tools/lead-ads-testing>" is enough
- Example of a successful request

|
...
Panel |
---|
|
Follow the steps below
- Go to https://developers.facebook.com/tools/explorer
- Paste your Page Access Token into the "Access token" bar
- Ensure that your Page has the "Leadgen" permission enabled by setting the query bar to the following (replace {page_id} with your Facebook page ID):
 - If you make a GET request you should receive the following:
 |
...
...