React Native Facebook Login Tutorial (with Expo)
Expo with React Native already makes it SUPER easy to add Facebook Login to your iPhone or Android app. Here is a step-by-step guide on how to add Facebook Login to your React Native app (this is for using Expo, the React Native Core tutorial is much longer).
Create Facebook Developer Account
(If you already have an account skip this step)
Go to your Facebook App Dashboard Here Click Create New App Click Next past code snippets until the Bundle ID step
Type in host.exp.Exponent as your bundle ID and Save
For an Android Key type in rRW++LUjmZZ+58EbN5DVhGAnkX4=
Make sure you write down your APP ID while creating a new Facebook App then go to your App.json file and add the keys:
facbookScheme FacebookAppID facebookDisplayName
Add in the Login function to the component that you want to handle the logic:
Add Button to handle click event to call Login function
I purposely kept the tutorial very brief and basic so that it is clear what the actionable lines of code are for adding Facebook Login to a React Native Expo app. If you want more detail I will soon be releasing a full tutorial on how to build your own Tinder app with this type of login.