React-Native-FBSDK is a wrapper around for iOS Facebook SDK and Android Facebook SDK, allowing for Facebook integration in React Native apps.
First of all we need Facebook App ID. To get fb_id, open Facebook developer dashboard and create your application. Facebook Developer console
You need to install the sdk with npm and configure native Android/iOS project in the react native project.
react-native init ProjectName
npm i -s react-native-fbsdk
React-native link react-native-fbsdk
3-Configure Android Project
Go to MainApplication.java and MainActivity.java setup.
Add an instance variable of type CallbackManager and its getter
Register SDK Packages
In MainActivity.java add onActivityResult method
Change Facebook Version in gradle (Module: react-native-fbsdk)
Change Compile Version and buildToolsVersion is good as well
Add meta data in android manifiest file
Log in and get user Data using GraphRequest, GraphRequestManager in React-native