Facebook App Setup
Facebook app can be setup after or before Socialite installation. With this, you can let your users login with their Facebook accounts.
- First goto https://developers.facebook.com and Sign in with your Facebook account.
- Now click
My Apps
and clickAdd a new App
Fill the form and click
Create App ID
Then select the following product
Facebook Login
and clickSet Up
Then select the following platform
WWW (Web)
Enter your Site URL click
Save
and the rest of the following steps just clickContinue
orNext
App still not public and to make the app public, Go to
App Review
then click on Toggle button.Select a category for your app and click
Confirm
After clicking confirm, the toggle button shows "yes" and your app will be public.
Now go to
Settings
and enter your domain or subdomain where you installed Socialite in theApp Domains
then clickSave Changes
Now go to
Facebook Login Settings
and enter your website domain or subdomain where you installed Socialite in theValid OAuth redirect URIs
then clickSave Changes
Make sure you have disabled the
Use Strict Mode for Redirect URIs
- Now go to Socialite admin panel -> Environment settings and place the two keys and click the button "Save .ENV" as mentioned in the picture below.