⌘K

Multi-vendor Website, Customer App, Delivery Boy App, Vendor/Owner App (Android & iOS) With Management Control Panel

Authenticate Using Facebook Sign-In

Last updated

Creating New App

  1. OpenΒ https://developers.facebook.com/apps/
  2. Create New App

  1. Enter Your App Info at Settings/Basic

  1. Add Product “Facebook Login” and setup

  1. Click Android to setup

  1. Click Next for “Download the Facebook SDK for Android”
  2. Click Next for “Import the Facebook SDK”
  3. Enter Package Name and Default Activity Class Name at “Tell Us About Your Android Project”. Click Save And Click Next .

    Package Name: You need to enter your own package name. That package name must Equal with package name from firebase. For Default Activity Class Name must end with “.MainActivity”

  1. Enter Key Hashes at “Add Your Development and Release Key Hashes”. Click Save and Click Continue.

  1. Enable Single Sign On at “Enable Single Sign On for Your App”. Click Save and Click Next.

Add success callback url at Facebook Login Setting Add this urlΒ https://www.facebook.com/connect/login_success.htmlΒ at Valid OAuth Redirect URIs Enable Login from Devices

  1. Get FB Key from Dashboard

  1. Insert to Android Project ( android/app/src/main/res/values/strings/strings.xml )

  1. Insert to iOS ( ios/Runner/Info.plist)

  1. Change switch button to “ON”

Facebook Comments

Still stuck? How can we help? Get Help