Creating a Facebook Developer App
To create a Facebook developer app for our Cordova app do the following:
-
Visit the Facebook Developer Apps Page and click Add a New App. Select Website as the platform. Make sure you have registered/Logged in to the Facebook Website.
-
Enter an app name and click Create new Facebook App ID.
-
Select your app category and click Create App ID.
-
Click Skip Quick Start in the top right corner.
-
Enter the app domain and Site URL into the Basic settings tab as shown below
-
Click on Add Product and select Facebook Login.
-
Click on Facebook login, go to Client Oauth Setting and add Valid OAuth redirect URIs as “http://localhost/callback”, Save the changes
-
Select App Review from the left-hand side. Select 'Yes' to Make your App Public
-
Login to your administrator site. Go to Extensions ? Plugins ? Select API Users. Add the Facebook Application ID/ App ID