create-facebook-id-for-phonegap-ionic2
create-facebook-id-for-phonegap-ionic2
create-facebook-id-for-phonegap-ionic2

This article we’re going to learn how to Create Facebook Application for your PhoneGap, Cordova or Ionic based applications. Where you can use these steps for facebook login or accountkit login

Steps to create facebook application

step 1: login with developers.facebook.com with your facebook account & goto https://developers.facebook.com/apps/

step 2: Create a new application

step 3: Fill your Project Name and contact email & click create App ID

Setup Facebook Login

step 4: Goto DashBoard & Click Setup button for Facebook Login

step 5: Choose your platform (Choose Android)

step 6: Scroll & Fill package name

step 7: Execute keytool command & copy paste hash key

Mac

keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64

Windows

keytool -exportcert -alias androiddebugkey -keystore %HOMEPATH%\.android\debug.keystore | openssl sha1 -binary | openssl base64

Click Continue till end.

step 8:  Here You can get

  • App ID
  • App Name (Display Name)
  • App Secret

 


Working With AccountKit

Goto Dashboard & click Account Kit setup, then choose platform (android) & continue as mentioned)

Choose Settings & Click Getting Stared

Now you can see AccountKit App Secret & AccountKit Client Token

Sundaravel M

About the author: Hey! It's me sundar. (Yea, I'm the founder of codesundar.com). I'm a passionate computer programmer who loves modern web and mobile development. feel free to reach me : Facebook - Twitter - Google+