Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 1.74 KB

facebook-setup.md

File metadata and controls

48 lines (31 loc) · 1.74 KB

Facebook Setup

In this article, we're going to setup both facebook login and facebook accountkit (for phone number authentication)

Step 1: Working with Config.xml

Before starting facebook setup, we need to update your branding details such as,

  • appname
  • developer name, email, weblink
  • widget id (com.yourcompanyname.appname)

Navigate to config.xml and update your app details

updating config

Navigate to package.json and update your own credentials

updating package json

Step 2: Updating credentials

Once, you have completed these, we need have,

After following these steps, you need to update your

project/config.xml
project/src/settings.ts
project/package.json

updating config 2

updating package json

Step 3: Enabling Facebook login on Firebase

  • Navigate your firebase project
  • Goto Authentication -> SignIn method
  • Choose Facebook, then enable
  • Fill your AppID & App Secret
  • You need to update OAuth Redirect URI (from firebase), to your Facebook login setting

updating config 2