Skip to main content
This guide shows you how to register your own app with Facebook Login for Business to get your OAuth credentials (App ID and App Secret) and a Configuration ID with Instagram permissions. The configuration replaces OAuth scopes: it sets the token type, the token expiration, the assets and the permissions your app asks for. Your users’ Instagram accounts must be professional (business or creator) accounts linked to a Facebook Page.
1

Create a Facebook Developer account

If you don’t already have one, go to Meta for Developers and create a developer account.
2

Create a new app

  1. Go to the Meta Developer Dashboard.
  2. Click Create App, enter your App name then click Next.
  3. Select the Instagram use cases your app needs (for example, Manage messaging & content on Instagram), then click Next.
  4. Select the Business portfolio to associate with the app, then click Next.
  5. Review the Publishing requirements, then click Go to dashboard.
    If you’re asked for an app type, choose Business: Facebook Login for Business is only available to Business apps.
3

Configure OAuth settings

  1. If Facebook Login for Business isn’t in the left sidebar, add it from Add product.
  2. In the left sidebar, go to Facebook Login for Business > Settings.
  3. In Valid OAuth Redirect URIs, add https://api.nango.dev/oauth/callback.
  4. Click Save Changes.
4

Obtain your app credentials

  1. Go to App Settings > Basic in the left sidebar.
  2. Copy your App ID (your Client ID) and App Secret (your Client Secret).
5

Create a configuration

  1. In the left sidebar, go to Facebook Login for Business > Configurations, then click Create configuration.
  2. Choose the access token type:
    • System-user access token: a business integration system user token, owned by the business rather than the person who logs in.
    • User access token: a token tied to the person who logs in.
  3. Choose the token expiration and the assets. Select the Pages and Instagram accounts your app needs.
  4. Add the Instagram permissions your app needs (for example instagram_basic, instagram_content_publish, instagram_manage_messages), plus pages_show_list to list the linked Pages.
  5. Save the configuration and copy its Configuration ID.
    Some permissions require App Review before going live. To access data owned by other businesses, your business also needs Business Verification.
6

Create the integration in Nango

Enter the Client ID, Client Secret and Configuration ID when you create the integration. Leave the scopes empty: the configuration sets the permissions.
7

Next

Follow the Quickstart.
For more details, see Instagram API with Facebook Login and Facebook Login for Business.

Important notes for Instagram (Login for Business)

  • The token expiration is set in the configuration (60 days by default). Nango can’t refresh these tokens: when one expires, users must re-authorize the connection.