Leads can be downloaded and retrieved in different ways
In order to make API requests, you have to request an app review. Dev mode is allowed for some time/number of requests, but when your integration is in production, you should request an app review and switch the app to Live mode. An app in Dev mode could stop working as expected at any moment.
You must be an admin to access leads through your Facebook page. Go to your page settings. Then click on Publishing Tools at the top of the header bar:
From the Publishing Tools page, click on "Forms Library" under the section "Lead Ads Form", on the left hand side. In the Forms Library table, you will find a form called "Marketplace Real Estate Lead Gen Form":
by clicking "Download", a dialog will appear, asking if you want to download new leads or leads within a specific time range. After selecting your preference, you will be able to download leads in CSV or XLS format.
Marketplace Real Estate uses the Marketing APIs.
You must have a Facebook page attached to your Business Manager with an Admin permission
The app review process could take up to 1-2 weeks including business verification. Please read this guide and prepare required documents in advance.
To receive webhook events from the Facebook Platform, your code must be hosted on a public HTTP server that meets has the following:
Facebook Platform supports versioning and each version is guaranteed to operate for at least two years. A version will no longer be usable two years after the date that the subsequent version is released. So we highly recommend developers to use the most recent API version.
The examples in this guide are in PHP, but you can write your webhook in whatever server-side language you like best.
Before you begin, make sure your server meets all of the requirements listed above.