Book Image

SPRING COOKBOOK

Book Image

SPRING COOKBOOK

Overview of this book

Table of Contents (19 chapters)
Spring Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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:

  1. Go to https://developers.facebook.com/apps.

  2. Select your existing app.

  3. In the left side of the navigation menu, select Test Apps.

  4. Click on the Create a Test App green button.

  5. Enter a name for your test app and create the app.

  6. 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.

  7. In the left side of the navigation menu, select Roles. Choose the Test Users tab and click...