Creating a test Facebook app and test users
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.
Getting ready
You need an existing Facebook app. Refer to the previous Creating a Facebook app recipe.
How to do it…
Here are the steps to create a test app and test users:
- Go to https://developers.facebook.com/apps.
- Select your existing app.
- 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...