Setup Facebook Login

To login with Facebook, we need to follow 3 steps as below

  1. Creating new project & obtaining app id, app name, app secret
  2. Enabe Facebook login in firebase
  3. setup facebook plugin in ionic project

Fill with your application name & contact email address

You can find your package name inside your config.xml

Copy the following information from Firebase

  1. APP_NAME = "Ionic2Firebase"
  2. APP_ID = "767580......"
  3. App Secret =""

Setup Facebook Login with your Firebase

Adding Firebase to your project

open your working directory in your command prompt

ionic cordova plugin add cordova-plugin-facebook4 --variable APP_ID="your app id" --variable APP_NAME="your app name"
npm install --save @ionic-native/facebook

results matching ""

    No results matching ""