Book Image

SPRING COOKBOOK

By : Jerome Jaglale, Yilmaz
Book Image

SPRING COOKBOOK

By: Jerome Jaglale, Yilmaz

Overview of this book

This book is for you if you have some experience with Java and web development (not necessarily in Java) and want to become proficient quickly with Spring.
Table of Contents (14 chapters)
13
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...