Facebook Login
Last updated
Last updated
Note: First you need to publish your application on Play-store before activating Facebook login
Go to Facebook Developers Website and select “My Apps” after you have logged in.
Click on Create App
Select an app type then press Next
Add your app details then press Create App
Click Set up on Facebook Login
Click on Android Icon to configure it
Click on the settings tab then select Basic And Add your Privacy Policy URL, and your domain name to App Domain field, also choose your category and press save button once you finished
Got to the header on the left and press the switch to activate your App
Scroll down and press to Add Platform button
Choose Android then press Next
Select Android Store then press Next
You’ll need the Google Play Package Name, Class Name and the Key Hash ID
You can find the Package Name at general settings
You can find The Key Hash ID at application settings. Please note, you must generate an android application to able to find a Key Hash ID to use
Copy and Paste both the package name & Key Hash ID back to Facebook. Press the Log in-app events automatically to activate it then save changes
After pressing Save changes, you will find that Class Name has been added and If it is not added automatically, you can add it manually via the add method Package Names. MainActivity For Example com.stacks.www.MainActivity As shown in this image
In your Facebook developer account, head to the settings tab then select Basic the copy your App ID
Go Back to your Builder and then press Application Settings and scroll down to Facebook App ID section, paste the Facebook App ID and write your App name then press the Update button to save your changes