I have created an App for Facebook Leads Integration in my developers account where I've set up all the configurations and settings according to the following video: https://www.facebook.com/marketingdevelopers/videos/883648801749520/
But whenever I submit any lead form, I am not getting any lead data. When I checked I found that webhook.php file is not getting accessed when the form is submitted. Although when I send the test lead from the webhook test page the file is accessed.
This lead was recorded in the logs.
It was working very fine since last few months but it suddenly stopped working. I've also tried to create new page access token but that also did not work since the webhook file was not accessed. What could be the issue?
Update: Following are the steps I followed:
- Submitted the app for review. (FB rejected "manage_pages" permission)
- Contacted the FB Developer Support Team. I created the test app as suggested by them and they checked the configurations and settings from their end.
- The team suggested to re-upload the screencast video needed for the "manage_pages" permission explaining how I am using that permission.
- I did so but the review was again rejected.
New Update: I successfully completed my app review. But now there is a new problem. The leads are properly getting tracked when I test them from the following link: https://developers.facebook.com/tools/lead-ads-testing/
But when I try to send the lead from the following URL, it doesn't even reach the webhook file. I can say this confidently because I have created logs at the start of the webhook file. https://business.facebook.com/facebook_page/publishing_tools/?section=LEAD_ADS_FORMS