# Facebook config

{% hint style="info" %}
This guide is for the Pro version, for the Expo you can refer to this better document from Expo:[ register your app with Facebook](https://docs.expo.io/versions/latest/sdk/facebook#registering-your-app-with-facebook)
{% endhint %}

The app provides the access to Facebook login, sharing, graph requests, app events...so you need to config your facebook developer app to change the facebookAppId.&#x20;

Please following carefully the quick start guide below to pick up the **FacebookAppId** & **FacebookDisplayName**.

### Create your Facebook App

Go to <https://developers.facebook.com/apps/> by using you facebook login account and config your app similar to this screenshot

![](https://1983211154-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LHBIhMvzFkd_uhi8KQ3%2F-LHBiO6uUTw5xQn6v7Zn%2F-LHBzfnx61QIVkQCvKeU%2FScreen%20Shot%202018-07-12%20at%2012.36.40%20PM.png?alt=media\&token=0d8f7ef5-7e6e-408f-852e-d7f77f0df564)

![](broken-reference)

### Quickstart guide for iOS

Open the link for [QuickStart setup](https://developers.facebook.com/quickstarts/?platform=ios) and follow the guide to get the FB appID

{% hint style="warning" %}
You can also change **theFacebookAppID**, **CFBundleURLSchemes** & **FacebookDisplayNamefrom** by update the Info.plist from iOS folder. **UpdateBundle ID** to match with your project is important, otherwise your app will be crash (see below setting)
{% endhint %}

![](https://1983211154-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LHBIhMvzFkd_uhi8KQ3%2F-LHBiO6uUTw5xQn6v7Zn%2F-LHBzlIDJiUNy912HxG8%2FScreen%20Shot%202018-07-12%20at%2012.36.48%20PM.png?alt=media\&token=b8fc533b-4fdc-412d-bd9a-589a02ed9bd9)

### Quickstart guide for Android

Open the link for [QuickStart setup](https://developers.facebook.com/quickstarts/?platform=android) and follow the guide to get the FB appID

{% hint style="warning" %}
You can also change **theapp\_name**, **fb\_app\_id** & **fb\_login\_protocol\_scheme** by update this file `android/app/src/main/res/values/strings.xml`
{% endhint %}

![](https://1983211154-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LHBIhMvzFkd_uhi8KQ3%2F-LHBiO6uUTw5xQn6v7Zn%2F-LHBznPz0pZj3VlxZgWM%2FScreen%20Shot%202018-07-12%20at%2012.36.55%20PM.png?alt=media\&token=d9062c62-ef9b-4070-91cd-9efee49361dd)

{% hint style="info" %}
Ref to these document for more detail: [https://github.com/fa](https://github.com/facebook/react-native-fbsdk)
{% endhint %}
