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 Facebook app


A web application can access a Facebook account only through a Facebook app. In this recipe, we will open a Facebook developer account and create a Facebook app. We will obtain an App ID and App secret, which are the two strings that our web application will use to connect to Facebook in the following recipes.

Getting ready

Log in to your Facebook account.

How to do it…

Here are the steps to open a Facebook developer account and create a Facebook app:

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

  2. In the top navigation, in My Apps, select Register as a Developer.

  3. Once you're registered, in the top menu, under Apps, select Add a New App.

  4. Select Website.

  5. Click on Skip and Create App ID in the top-right corner of the window:

  6. Fill in the form and click on Create App ID.

  7. Find the App ID and App Secret displayed on the app page.