O'Reilly logo

React Native By Example by Richard Kho

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required