Obtaining Facebook API credentials
This looks like a great starting point. However, before we can begin, we need to register our app with Facebook. Head over to Facebook's developer site and select Add a New App
. At the time of writing, the URL is https://developers.facebook.com.
Once you have your application registered, download the Facebook SDK for iOS at https://developers.facebook.com/docs/ios/ and unzip its contents to your Documents
folder, naming it FacebookSDK
. Keep this folder open; we will need it shortly.
After that, go to the dashboard of your application and take note of the App ID
. You'll also need this in a moment. You can find it here:
In the following section, we'll look at how to install the official Facebook SDK for React Native.