File: facebook-authentication.md | Updated: 11/15/2025
Hide navigation
Search
Ctrl K
Home Guides EAS Reference Learn
Archive Expo Snack Discord and Forums Newsletter
Copy page
A guide on using react-native-fbsdk-next library to integrate Facebook authentication in your Expo project.
Copy page
The react-native-fbsdk-next
library provides a wrapper around Facebook's Android and iOS SDKs. It allows integrating Facebook authentication into your Expo project and provide access to native components.
This guide provides additional information on configuring the library with Expo for Android.
The react-native-fbsdk-next library can't be used in the Expo Go app because it requires custom native code. Learn more about adding custom native code to your app
.
See react-native-fbsdk-next documentation for instructions on how to install and configure the library:
React Native FBSDK Next: Expo installation instructions
Adding Android as a platform in your Facebook project requires you to have your app approved by Google Play Store so that it has a valid Play Store URL, and the package
name associated with your app. Otherwise, you'll run into the following error:

See the following guides for more information on how to build your project for app stores:
Build your project for app stores Manually upload Android app for the first time
Once you have uploaded the app to the Play Store you can submit your app review. When it is approved the Facebook project will be able to access it at a Play Store URL.
After that, go to your Facebook project's Settings > Basic and add the Android platform. You'll need to provide the Key hash, Package name and Class name.

android.package
field.MainActivity by default, and you can use package.MainActivity where package is the android.package in your project's app config. For example, com.myapp.example.MainActivity, where com.myapp.example is the package name of your app.Now, you can use your Facebook project for development or release builds and production apps.