In this article, we're going to setup both facebook login and facebook accountkit (for phone number authentication)
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
Navigate to package.json
and update your own credentials
Once, you have completed these, we need have,
- APP_ID
- APP_NAME
- CLIENT_TOKEN
- API_VERSION for adding facebook plugin and accountkit plugin. For that, you can follow this article (https://codesundar.com/create-facebook-application/)
After following these steps, you need to update your
project/config.xml
project/src/settings.ts
project/package.json
- 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