Follow the steps below to create a client application to integrate with Facebook using the server-side flow from OAuth 2.0:
- Go to https://developers.facebook.com/apps/ and add a new application by clicking on Add a New App.
- Register a new client application on Facebook with the Display Name social-authcode.
- You will be guided to select one Facebook product. So, choose Facebook Login by clicking on Set Up and then choose Web as a platform.
- You will be asked to enter the site URL, which might be http://socialauthcode.test/.
- After creating the application on Facebook, click on Facebook Login on the left panel to configure a valid redirect URI, which should be http://localhost:8080/connect/facebook.
- Click on Dashboard on the ...