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 (default password: android)

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: Hi! I'm Sundaravel (codesundar), Founder of codesundar.com. I have been a Web, Mobile App developer, Author, and Teacher since 2014. I also worked as a software consultant for fortune 500 companies. I created codesundar.com to share my real-time knowledge in various technologies such as PhoneGap, Ionic, Flutter and more.