Facebook Audience Settings on MoEngage dashboard

This article will help you with the one-time configuration required for Facebook. This configuration establishes a connection between MoEngage and your Facebook account. Before you proceed with the settings, make sure you have the App & Ad account ready as per the required configurations explained in the document Facebook setup for custom audience integration.



  • This is a one-time setup; you will only be required to do this step again if the app secret or user token becomes invalid.
  • The FB settings can be added/modified by a user with Admin access to the MoEngage dashboard. For more information, refer to access roles.

Once you are all set, fetch the following fields as explained below.

To integrate your Facebook account with MoEngage, navigate to Settings -> App marketplace and choose Facebook audience.

FB Audience.png

1. App ID:

2. App secret:

  • In your FB app dashboard, go to Settings > Basic
  • Under App secret, click Show. 
  • If prompted, enter the password and you will get your App secret.

3. Access token:

  • Go to your FB app dashboard and select the app you want to sync with MoEngage. 
  • Go to Marketing API > Tools > Get Access Token
  • Select ads_management & ads_read permissions
  • Click Get Token button
  • Alternatively, you can obtain access token from the FB's Graph API explorer as explained here.



4. Business ID (Optional):

This field is required only if the user whose access token is used here has access to multiple FB business accounts and wants to sync with only 1 particular business account. To retrieve it, go to FB business info page.


After entering all the fields, click the Connect to Facebook button.

On successful connection, we will fetch the list of all Ad Accounts associated with the logged-in user. You can select one as default. 


If you wish to change these settings later because the logged-in user no longer has access to your FB business account or for any other reason, click Disconnect Facebook. Add the fields again and click Connect to FB. 



  • We need these fields to fetch all the Ad accounts from your account. We would also need the access token every time when the campaign will run where we would need to make an API call to the FB.
  • The access token you have entered above is a short-lived access token. It is valid only for a few hours. Once you provide this access token to us, we will convert it into a long-lived access token and store it on our end and we will also extend the token at our end.
  • The long-lived access token haslonger expiration time, such as 60 days or Never. We will periodically check for token validity, and if the token is about to expire within the next 7 days, we will extend the token validity. To retrieve an extended token, app ID & app secret are required.
  • If the user token or app secret is no longer valid, then we will notify you to update the fields on the settings page.
  • In case the access token is not mapped to any Business ID, the default ad account associated with the user will be fetched and result in a Permissions Error (Business account needed to create/edit this audience). Ensure that your access token is mapped to the appropriate business ID in Meta's Settings.

Once you are connected to Facebook, you can get started with FB Audience campaign creation, as explained in this article.

Was this article helpful?
7 out of 10 found this helpful

How can we improve this article?