All Collections
Core Feature Tutorials
App Marketing: iOS and Android Setup
App Marketing: iOS and Android Setup

How to set up your app to market for Facebook Business Manager

S
Written by Support
Updated over a week ago

Learn how to find and upload your iOS and Android Service files, Facebook ID And client Tokens to market within your Control Panel to start marketing your App on Facebook!


Facebook ID

  1. Open Facebook for Developers

Note: You will be able to see your apps from this page; however, if you need to create a new app, click the green “Create App’ button in the top right corner of the Apps page.

  1. At the top left of your screen next to the drop-down menu, select your App ID and copy it.

  2. Return to the Integrations page within your control panel under Advanced, and paste it on Step 3 of this page: ‘App Facebook ID’ - click the green Save button.

Note: When you advertise on Facebook, your ad accounts are given unique ID numbers. These ID numbers are useful when adding an account to Facebook Business Manager.


Like App tokens, Client tokens make Graph API requests on behalf of apps instead of users.

Unlike other tokens, Client Access Tokens cannot be used in requests on their own, they must be combined with your App ID. To do this, append your token to the end of your App ID, separated by a pipe symbol (|):

{app-id}|{client-token}

For example:

access_token=1234|5678

To get the Client Access Token for an app, do the following:

  1. Sign into your developer account.

  2. On the Apps page, select an app to open the dashboard for that app.

  3. On the Dashboard, navigate to Settings > Advanced > Security > Client token.

Access Token Length

Expect that the length of all access token types will change over time as Facebook makes changes to what is stored in them and how they are encoded. You can expect that they will grow and shrink over time. Please use a variable length data type without a specific maximum size to store access tokens.

Requirement to embed Client Tokens in the SDK takes effect:

Starting with the release of Platform SDK v13.0, developers are now required to embed a Client Token in the SDK for Graph API calls. The inclusion of Client Tokens in the SDK enables us to analyze platform issues more effectively and enhance the performance of the platform as a whole. With the launch of Platform SDK v13.0, we will now use Client Tokens for processing Graph API calls when an Access or Authentication Token is unavailable. As a result, any apps using SDK v13.0 and above that do not include a Client Token will raise an exception upon initialization of the SDK. Developers can learn more about how to embed their App’s Client Token in the Android SDK here and in the iOS SDK here to avoid any service disruption.


Upload Firebase Google Services (iOS)

  1. From the Firebase homepage, go to Google Console (console.firebase.google.com)

  2. Click on the project, or create a new one.

3. Click on the app, or create a new one if it does not appear under the project you selected or created.

  • Click on the iOS icon to add Firebase and your App Bundle ID to your iOS app. This can be found under Certificates and Keys within your Control Panel.

  • Under Google Firebase Certificates in the Control Panel, copy your App Bundle ID.

4. Return to the Firebase console, and paste the App under your iOS bundle ID.

5. You can choose to nickname your app and press ‘Register App’.

6. Download your configuration file to your computer.

Note: Keep your configuration files stored on your computer in a safe folder in case you need to access them again.

7. Return to the Control Panel, select and upload your iOS configuration file that you previously downloaded and click Save.


Upload Firebase Google Services (Android)

  1. From the Firebase homepage, go to Google Console (console.firebase.google.com)

  2. Click on the project, or create a new one.

  3. Click on the app, or create a new one if it does not appear under the project you selected or created.

    • Click on the Android icon to add Firebase to your Android app. This can be found under Certificates and Keys within your Control Panel.

    • Under Google Firebase Certificates in the Control Panel, copy your App Bundle ID.

  4. Return to the Firebase console, and paste it under your Android bundle ID.

  5. You can choose to nickname your app and press ‘Register App’.

  6. Download your configuration file to your computer.

  7. Return to the Control Panel, select and upload your Android configuration file that you previously downloaded and click Save.


Did this answer your question?