I'm trying to write a script on one of our backend servers that will run on an automated basis, log in to Facebook, and retrieve the leads from the Facebook Lead Ads api. I'm using the guide published here:
https://developers.facebook.com/docs/marketing-api/guides/lead-ads/leads/v2.6
The difficulty I'm having is that in order to fetch the leads, the script will need the manage_pages permission. I attempted to apply for this by creating an "app" in Facebook's Developer interface, and by requesting approval for the manage_pages permission, but my request was denied because the screencast didn't show how the "app" worked, and they weren't able to see a clear method to "log in".
Since this script will never be seen or accessed by end-users, and the login process is being handled entirely by the server-side script, I'm not sure how to go about getting approval for this. We're not using Facebook API's in any other way right now and we don't have any plans for writing user-facing apps. The documentation and examples on Facebook's site all seem geared toward people who are writing user-facing apps and it's not clear how to proceed in our case.
Is there a best practice for getting approval for permissions on server-side-only apps that use Facebook APIs? Or is this something that people just don't do?