.

How Can We Help?

Activate Facebook login on your android mobile application

Step 1

Go to Facebook Developers Website and select “My Apps” after you have logged in. 

Step 2

Click on Create App 

Step 3

Select an app type then press Next 

Step 4

Add your app details then press Create App 

Step 5

Click Set up on Facebook Login

Step 6

Click on Android Icon to configure it

Step 7

In your Facebook developer account, head to the settings tab then select Basic and Scroll down to press Add Platform

Step 8

Choose Android then press Next 

Step 9

Select Android Store then press Next

Step 10

You’ll need the Google Play Package Name, Class Name and the Key Hash ID

Step 11

You can find the Package Name at general settings  

Step 12

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

Step 13

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

Step 14

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

Step 15

In your Facebook developer account, head to the settings tab then select Basic the copy your App ID

Step 16

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

Related Posts