21.8 C
Sunday, September 26, 2021

Quickstart with 11 Steps Facebook Login integration in Android App




Add Facebook Login to Your Android App

Facebook Login integration in Android App

One of the best use of your Facebook account is using it as the Login purpose on other website or Mobile App platforms. As Facebook Login provides a convenient and secure way to Login to an app or website without creating an account.Knowing the increase in the use of this Facebook features by developers, Facebook makes simple steps for integration in Mobile App using the latest version of Facebook’s SDK for Android.

In this How to Add Facebook Login to Android App tutorial, you will learn how to add Facebook login feature to your android app with few easily understandable steps.

Ingredients for Tutorial

Before you begin, make sure you have access to the following:

You need to have your developer account on Facebook and their Register Your App, you can read my tutorial to learn How to Create Facebook developer account and Register Facebook App.

Now after creating Facebook App, navigate to Settings from the left and click the Add Platform button. From the pop-up, select Android.

Facebook Login integration in Android App
Facebook Login integration in Android App

Now add your App package name and Activity name wherever it is necessary for the form. If you are yet to create app then remember this values so that whenever you create you must use this values for package name and Activity name.

See Also  How to Approve an Facebook instant articles
See Also  How to Create Facebook Reaction Poll Streaming

How to get Key hashes ?

To get key hashes, open a terminal window and run the key tools command ( commands may differ with systems) to generate a key hash using the debug key store located at ~/.android/debug.keystore.

keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64

About the author

SyncSaS Technologies is specialized in creating and designing customized software. We have our own team that will be in charge of developing your softwares.

Add a comment

Related posts