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:
In the top navigation, in My Apps, select Register as a Developer.
Once you're registered, in the top menu, under Apps, select Add a New App.
Select Website.
Click on Skip and Create App ID in the top-right corner of the window:
Fill in the form and click on Create App ID.
Find the App ID and App Secret displayed on the app page.