To work with actual Facebook users, a Facebook app needs to go through an approval process; you have to submit some screenshots, a logo, description, and privacy policy. To just test your web application, skip the approval process by using a Test App with Test Users. Facebook provides a convenient interface to create them.
You need an existing Facebook app. Refer to the previous Creating a Facebook app recipe.
Here are the steps to create a test app and test users:
In the left side of the navigation menu, select Test Apps.
Click on the Create a Test App green button.
Enter a name for your test app and create the app.
The test app's App ID and App Secret are displayed. They are different from the original app. Use them in your Spring web application to use the test app.
In the left side of the navigation menu, select Roles. Choose the Test Users tab and click...