Creating Facebook Apps programmatically using PHP - is there an API endpoint?

I’m trying to build a service that can automatically create Facebook applications for my users without them having to go through the manual process.

Basically what I need is to programmatically generate new Facebook apps and retrieve the essential credentials like App ID, App Secret, and API keys. I want to integrate this functionality directly into my website so users can just fill out a simple form and have their Facebook app created instantly.

I’ve been searching through Facebook’s developer documentation but couldn’t find any clear API endpoints for app creation. However I’m pretty sure this is technically possible since I’ve seen other platforms offering similar automated app generation features.

Does anyone know if Facebook provides API methods for this? Or maybe there’s a different approach I should be considering? Any code examples or guidance would be really helpful.

Thanks for any suggestions!