How to Get a Facebook App ID

To get a Facebook App ID, follow these steps:

Step 1: Go to the Facebook Developers website at developers.facebook.com and log in using your Facebook account credentials.

Click on the Create App option in the top-right corner of the page.

Create a new app on Facebook

Step 2: Choose the type of app you want to create. Let’s select Consumer for our social login. 

Choose consumer as the app type

Step 3: Give your app a name and click on the Create app button. 

Set the app name

Step 4: Once your app is created, go to the “Settings” page and click on the “Basic” option. Under the “Basic” settings, you will find your App ID and App Secret. From here, copy the App ID.

Basic app settings

Step 5: Up next, you have to set up the Facebook Login app. You’ll find it on the app Dashboard or access it by clicking on the Add Product button. Provide the general information there and the app will be enabled instantly.

Enable the Facebook Login app

Step 6: Then go to the Facebook Login Settings page and enable the Login with the JavaScript SDK option. After that, input the allowed domains of for this JavaScript SDK. This Facebook app you’ve created here will be available only the domains you’ve entered here.

How to enable Facebook JSSDK aka JavaScript SDK from the Facebook developers page
Find this allowed domain URL from Tutor LMS > Settings > Authentication > Social Login > Facebook. After you enable the toggle for Facebook you can copy the redirect URL by clicking a button under APP ID. You can paste this back into the Facebook developer console.

Step 7: Now go back to your WordPress admin panel and navigate to WP Dashboard > Settings > General and put a checkmark in the Anyone can register option. Thus, the students or instructors can register to your website using the Facebook login button. 

Enable the anyone can register option from the WP dashboard general settings

Step 8: Finally, go to Tutor LMS Pro > Settings > Authentication. Scroll down to the Social Login section and paste the App ID that you copied earlier into the Facebook > App ID field. Then click on the Save Changes button and that’s it! Now, users should be able to log in to your website using Facebook.

Facebook APP ID field on Tutor LMS

Here’s the frontend preview of the Facebook login on the Tutor LMS login screen. 

Facebook login on the Tutor LMS login screen

Verify Your App from Facebook

In order to use Facebook app ID on your website, you must verify Your App from Facebook. Even though the verification application won’t take time to set up, it takes around a week to get verified.

To submit the verification application, you have to prepare the following things first:

  1. A completely developed Facebook app
  2. A 1024×1024 pixel compliant app icon image
  3. Send at least 1 successful API call
  4. Create a screen recording by using your app from a user’s perspective
  5. Make your app publicly available
  6. Create a test user and share the credentials 

To know more about the full requirements, check the official requirements list on Facebook. If you have everything on hand, now you can submit your app for review. Facebook recently published a step-by-step guide to this review submission process. It may take around a week to verify your app.

You must make a successful API call for each permission within 30 days of the App Review submission. Otherwise, Facebook won’t verify your app.

Was this helpful?