How to get a Facebook App Id
Go to the Facebook page for developers https://developers.facebook.com
and sign in to your account.
Click "My Apps" → "Create App".
From the suggested list of application types, select "Business".
Next, set the name of the application, the contact email address, app purpose, and click "Create App".
The application has been created, now you need to configure and connect it.