Facebook integration part II. (Setting up integrations)
Please before we continue, check if you have done everything from the Facebook Integration part I. article as that is a prerequisite for following this one.Facebook integration part II.
Next Step is entering app's data from the app builder inside the Facebook app that we just created on the Facebook Developers website.App's data is stored in the builder Settings -> Sharing settings -> Facebook.
Marked pieces of information will need to be copy/paste in the next set up sequence.
Please note that these keys on the screenshot are the test ones, you're app will have other keys you'll need to copy.
Setting up integration platforms
We will need to set up several fields separately for Android Platform and iOS platform through
Quickstart tutorial provided by Facebook.
iOS Platform
The tutorial has 9 steps, and most of them we will skip by clicking on the Next button except for the following steps:Step 2. Add your Bundle Identifier
- Copy iPhone Bundle ID from the Sharing settings section showed on the very first screenshot and Save
Step 3. Enable Single Sign On for Your App
- Leave this option enabled and continue with Next
When you reach the last step, scroll up to the beginning and switch to the Android Platform.
Android platform
The tutorial has 10 steps, and most of them will be skipped as well except for the following steps:
Step 3. Tell Us about Your Android Project
- Package name: Copy Android Package name from the Sharing settings section showed on the very first screenshot in this article
- Default Activity Class Name: Copy Android class name as well from the Sharing settings section
*If your app is not live yet, this alert will pop up after you click on Save button. Simply click on Use this package name and continue.
Step 4. Add Your Development and Release Key Hashes
- Copy Android key hash from the Sharing settings section showed on the very first screenshot in this article
Step 5. Enable Single Sign On for Your App
- Leave this option enabled and continue with Next
Last final important step
Once you have completed both tutorials, you need to change your app's status from Development to Live in the top right corner as displayed on the image.
If your app is already live in Stores, we'll need to resubmit the app or Facebook login feature will not work. In that case, don't forget to contact Shoutem Support!