Implementing Facebook login authentication
With more than one billion users, Facebook holds basically all the connected users around the world, meaning that having a Facebook account nowadays has become a normal thing. That also means that we can authenticate people using their Facebook account to both login and create new accounts with any web/mobile application that implements Firebase Facebook login authentication. In this recipe we're going to see how we can integrate Firebase Facebook authentication with both Android and iOS, so let's get busy!
Getting ready...
Before writing any lines of code, we need to configure our Firebase application and activate the Facebook authentication. To do so, go directly to
Firebase project Console
| Authentication
section | SIGN-IN METHOD
|Facebook
and simply hit the button to activate it.
You will need to create a Facebook application from the Facebook developers, platform, then you will need to copy/paste the App ID
and App secret
right from your Facebook...