ASP.NET way of retrieving Facebook Lead Ad data
- Facebook developer account
- Visual Studio 2015 or higher
-
Compile and host the Web API in your server
Note: SSL Certificate is mandatory. Facebook accept only https URL. -
When an lead ad is generated facebook will post the data to the Web API's Post action.
-
Navigate to https://developers.facebook.com
-
Provide the display name, contact email address and click Create App ID
-
Select Page from the pull-down menu and click Subscribe to this topic
-
Provide the callback URL (Note: SSL is mandatory), Verification Token and click Verify and Save
-
On successfull verification you will be prompted with a list of avaliable subscriptions. From the list subscribe to Leadgen
-
To test the working without creating a lead ad do the following
This project is licensed under the MIT License