4
votes

I’m trying to build a live leadgen ingestion on our system through lead ads generator with a web hook.

I’m following this tutorial https://developers.facebook.com/docs/marketing-api/guides/lead-ads/quickstart/webhooks-integration ,

But my Facebook app only has to connect the web hook to the page lead generation. So at the Step 1 go the tutorial where it say to enable ads management and Manage Pages permission, I’m not able to proceed because it require to upload a screencast of the app (obviously the app doesn’t have a GUI).

Are there other ways to achieve this goal? Thanks.

2
Review is only necessary if you want people without a role in the app to be able to use it. - CBroe
In my case I think is necessary, if you look at the tutorial I've linked above, you can see that the leads generated by the page ads shoud be collected by the app. - daniele andreoli
I'm sorry, but this doesn't help me - daniele andreoli

2 Answers

5
votes

Sounds like you hit the same wall as myself doing the exact same thing. App review isn't necessarily needed, unless random users login and administer it via the Facebook accounts? If not, follow the video tutorial for Lead Ads Webhooks to setup the webhook.

After this is done though it still won't send leads from the Facebook App because the Facebook Page needs to subscribe to the app for this to happen (but now tests can be sent at least). The subscription API documented here should help with this (note that GET requests list the subscriptions and POST requests add new ones as it's RESTful).

Even after this it still won't be enough to get this setup though. The Lead ID will come from the webhook API, but not the actual user information. To do this I suggest downloading the Facebook Ads SDK and using the Lead class along with the ID to get the information. Prior to this though it might be useful to create a lifelong token that the SDK can use to access the Facebook Page via by creating a System User whom the access is given (not that this shouldn't be viewable by users!). Remember to give appropriate permissions and assign appropriate assets (also with appropriate permissions).

1
votes

I stumbled on this question when I was looking for the same problem. If you only request the manage_pages and leads_retrieval permissions, you do not need to submit a screencast of the app. You will just need to submit a written description of what you'll be doing with the leads.

Screenshot of Facebook App Permissions for a Lead Retrieval app