Facebook Login with React Native Expo | Tutorial
Beto, April 3, 2023 · 25,875 views
Facebook login in Expo trips people up for one reason: Expo Go can't handle the OAuth redirects. The fix is Expo Dev Client plus Expo Auth Session, and once you know the setup, the whole flow works cleanly on both iOS and Android. I build it from scratch in the video, from the Facebook developer portal to a working login with the user's profile and access token.
What's inside
- Setting up a Facebook developer app and OAuth redirect URIs
- Why you need instead of Expo Go for this flow
- Configuring your app scheme in so redirects come back
- Login running on real iOS and Android devices
- Grabbing the access token, profile picture, name, and ID after login
- What Facebook's app review means for permissions beyond public profile
Resources

CourseReact Native course
Auth is just the start. 17 sections and 800+ minutes, from fundamentals to shipping on the stores.
Had a win? Get featured on Code with Beto.Share your story
Like this article? Get the rest of the library plus weekly React Native tips. Free.