1
Create a Meta Developer account
If you don’t already have one, go to Meta for Developers and create a developer account.
2
Create a Business-type app
- Go to the Meta Developer Dashboard.
- Click Create App, enter your App name then click Next.
- Select Other, then click Next.
- Select Business, then click Next.
- Select which Business portfolio you want to associate with the app, then click Create app.
3
Add Facebook Login for Business product
- In the left sidebar, click Add product.
- Scroll to the bottom of the page and click Set up for Facebook Login for Business.
- Once done, click Settings from the left navigation for Facebook Login for Business.
4
Configure OAuth settings
- In the Facebook Login for Business > Settings page, enable the following OAuth settings:
- Client OAuth Login ✅
- Web OAuth Login ✅
- In Valid OAuth Redirect URIs, add:
https://api.nango.dev/oauth/callback - Click Save Changes.
5
Request Marketing permissions
- In the left sidebar, navigate to App Review > Permissions and Features.
- Request the Marketing API permissions your app needs:
ads_read- Read ads data (required)ads_management- Manage ads and campaigns (required if you need write access)
- These permissions unlock the Marketing API functionality.
Some permissions may require App Review before going live.
6
Obtain your App credentials
- Go to App Settings > Basic in the left sidebar.
- Copy your App ID (this is your Client ID) and App Secret (this is your Client Secret). You’ll need these credentials when configuring your integration in Nango.
7
Next
Follow the Quickstart to connect your first account.
Important notes for Meta Marketing API
- Facebook tokens expire after 60 days and cannot be refreshed. Once a token expires, users must re-authenticate by re-authorizing the connection.