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

Get Spring Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.