Facebook Social Authentication – getting a Facebook app key
Create a Facebook app, take its App ID and App Secret, and connect them to Listivo so visitors can log in with Facebook — including the App Review and publishing steps Facebook requires before the login works for the public.
3 minute read
Create the Facebook app
- 1 Open the Facebook for Developers page
-
2
Click Create App
-
3
Fill in the app details
Enter the App name and the app contact email, then click “Next”.
-
4
Choose the use case
In the “Use cases” step choose “Filter by: All”, select “Authenticate and request data from users with Facebook Login” and click Next.
-
5
Choose a business portfolio
You can select “I don’t want to connect a business portfolio yet”, or a business portfolio if you have already created one. It is up to you.
-
6
Review the requirements
-
7
Finish the wizard
In the overview step just click the “Go to dashboard” button.
Configure the Facebook Login use case
-
1
Open app customization and requirements
You have been redirected to the dashboard. Select “App customization and requirements”.
-
2
Add the email permission
In the “Permissions and Features” panel, add the “email” permission.
-
3
Open the Valid OAuth Redirect URIs field
Go to the “Settings” tab and add the Valid OAuth Redirect URIs – in the next step, you will find out where to get this address from.
-
4
Copy the redirect URI from your panel
Copy your OAuth Redirect URI from Listivo Panel > User Panel.
-
5
Select the Web platform
Go to “Quickstart” and select the “Web” platform.
-
6
Add your site URL
Add your domain in the “Site URL” field and click “Save”.
Complete the basic app settings
-
1
Open App settings → Basic
-
2
Fill in the missing information
For the app to work properly, complete the Privacy Policy URL, Terms of Service URL, User Data Deletion instructions, App Icon and Category.
-
3
Copy the App ID and App Secret
Click “Show” to reveal the secret, then copy both values.
-
4
Paste them into the Listivo Panel
Paste both values into Listivo Panel > User Panel > Social Authentication, in the Facebook Authentication section, and save the changes.
Submit the app for review and publish it
-
1
Answer the data handling questions
For the app to work correctly, you must complete all required verifications listed under “Review” / “App Review”. You may be required to complete Business Verification – if so, it will be indicated in this section (in our case, verification is already marked as completed). Start by answering the questions related to data handling.
-
2
Provide reviewer instructions
-
3
Answer the permission questions
Answer the questions related to the permissions marked in green: “How will this app use email?” and “How will this app use public_profile?”.
-
4
Submit for review
Once you have completed all the required steps, the “Submit for Review” button becomes active. Click it to send your app for review.
-
5
Publish the app
Go to the “Publish” section and then click “Publish” in the bottom-right corner.
-
6
Confirm the app was published
After publishing, you will receive a message confirming that the app was published.
Now the Facebook login should be available on your website.
Resolving permission issues in Live mode
If your app operates smoothly in development mode but encounters problems in Live mode, the issue may stem from permissions settings.
To address this, navigate to App Review > Permissions and Features > public_profile and check whether the API calls column is active. For your app to function properly, it should be set to “Auto granted”, as shown below:
However, if you find it displayed as “Inactive (0)” like this:
Facebook requires that the public_profile permission is upgraded to “Advanced” for “Facebook Login” functionality. To enable this option, you must complete Business Verification. For more information on access levels, please consult the following resource: https://developers.facebook.com/docs/graph-api/overview/access-levels/
Ask the people who build Listivo
We answer by email from support@tangiblewp.com. With Premium Support, we also fix your site when something breaks.
We can also run your site for you, or build a new one.
Was this guide helpful?