Social Login Setup: Facebook
To enable Facebook social login, youll need to create a Facebook App on the Meta for Developers portal. Here's how to get your Facebook App ID and App Secret:
Steps to Get Facebook App ID and App Secret:
1. Go to Facebook Developers
2. Log in
-
Use your Facebook account to log in.
3. Create a New App
-
Click on "My Apps" (top right).
-
Click "Create App".
-
Choose "Consumer" (for most use cases).
-
Click "Next".
-
Fill in:
-
App Name (e.g.,
MyWebApp
) -
Contact Email
-
-
Click "Create App" (you may have to complete a CAPTCHA).
4. Add Facebook Login Product
-
After creating the app, you'll be redirected to the App Dashboard.
-
In the sidebar, click Add Product.
-
Find Facebook Login and click "Set Up".
5. Configure Facebook Login
-
Choose the platform (e.g., Web).
-
Enter your traineasysite URL (e.g.,
https://username.traineasy.net
). -
Save your settings.
6. Get App ID and App Secret
-
Go to Settings > Basic (left menu).
-
Youll see:
-
App ID this is public.
App Secret click "Show" (you may need to re-enter your Facebook password).
-
Add Valid OAuth Redirect URIs
-
Under Facebook Login > Settings, add your redirect URIs, e.g.:
You can get this URL on the social login setup page