Help Center - Smaartr IO
All Categories Getting Started Setting-up Facebook Login

Setting-up Facebook Login

How To Create A Facebook App:

Here, we will guide you step-by-step how to create a Facebook App. If you already have a Facebook App, please feel free to skip this step and proceed to the next section.

Step 1: Go to https://developers.facebook.com/apps

Once inside the platform, click on Create APP

image.png

Step 2: Select "Business" and then "Next"image.png

Step 3: Fill-up your App details then click "Create App"

Note: Business Account is optional - but if you have one, please select it.

image.png

Step 4: Go to Settings 👉 Basic 👉 Fill-up required fields 👉 Save Changes

The fields you must fill-up are the ff:

  1. App Domains: Enter your Academy alias domain (ex: mmio.smaartr.io) or your custom domain (ex: colzzky.com)

  2. Privacy Policy: Enter your privacy policy URL here.

  3. Terms of Service URL: Enter your terms of service URL here.

image.png


Setting-up Facebook Login:

Step 1: Add Product 👉 Facebook Login 👉 Set-up

On your Facebook App dashboard, click the "Add Product" link on the left side-bar menu. Then find the "Facebook Login" app and click "Set Up"

image.png

Step 2: Select "Web"

image.png

Step 3: Add Site URL:

Enter your Academy Alias URL here (Ex: https://mmio.smaartr.io) or your custom domain (Ex: https://colzzky.com)

Then click "Save"

image.png

After saving, it's not necessary to click the continue button.

Skip all other steps and Just proceed to the step 4.

Step 4: Go to Facebook Login 👉 Settings

On your left side-bar, click Facebook Login and then Settings.

image.png

Step 5: Configure Facebook Login Settings

Configure the settings as instructed below:

image.png

Step 6: Finally, scroll down and click "Save Changes"

image.png

Step 7: Upgrade your public_profile permission to "Advanced Access"

  • Go to App Review

  • Click Permissions and Features

  • Search "public profile"

  • When you see the "public_profile" entry, click "Get advanced access" button

image.png

Check the agreement checkbox then click Confirm

image.png

After confirming, you should be able to verify that your App has now Advanced access to Public Profile permission like below:

image.png

Step 8: Upgrade your "email" permission to "Advanced Access"

  • Go to App Review

  • Click Permissions and Features

  • Search "email"

  • When you see the "email" entry, click "Get advanced access" button

image.png

Check the agreement checkbox then click Confirm

image.png

After confirming, you should be able to verify that your App has now Advanced access to Email permission like below:

image.png


Setting-up Smaartr IO Login Settings for Facebook:

Step 1: Add your FB App ID to Smaartr IO

After setting-up your Facebook login, copy your Facebook App's ID

image.png

Then add your FB App ID on your academy settings.

  • Go to Academy Settings

  • Go to Login Settings Tab

  • Add the Facebook App ID

image.png

Step 2: Add your FB App Secret to Smaartr IO

  • Go to Settings 👉 Basic

  • Click "Show" button on the App secret field

image.png

Copy the App Secret

image.png

Then add your FB App Secret on your academy settings.

  • Go to Academy Settings

  • Go to Login Settings Tab

  • Add the Facebook App Secret

image.png

And last but not the least, let's click "Save"!

image.png

That's it!

Once you have followed every step on this article, your Facebook Login should now work.

If you need further help, please create a support ticket.