Skip to main content

Create a Meta app

Meta issues the App ID and App Secret when you create an app in the Meta developer portal.

1

Create the app

Open the Meta app creation page and enter your app’s name and contact email address, then click Next.

  • Select one or more use cases, then click Next.
  • Select a business portfolio option or create one, then click Next.
  • Review the requirements and click Next.
  • Review all details and click Go to dashboard.
2

Register the redirect URL

Under Products in the App Dashboard’s left side navigation menu, click Facebook Login, then click Settings.

  • Add this value to Valid OAuth redirect URIs in the Client OAuth Settings section: https://api.stackone.com/connect/oauth2/facebookleadads/callback
3

Copy the app credentials

Your app’s App ID and App secret are shown in the App Dashboard.

  • App ID — the public identifier of your Meta app. Paste it into the App ID field in the StackOne Connector profile.
  • App Secret — the secret half of the app credentials. Paste it into the App Secret field in the StackOne Connector profile.
  • Keep the app secret secure and never share it publicly.
4

Configure permissions

Enables actions: Create Lead Gen Form, Get Lead, Get Lead Gen Form, Get Me, List Lead Gen Forms, List Leads By Ad, List Leads By Form, List My Accounts

Grant the app the permissions the integration needs. Permissions are requested from the person connecting the account during the login flow.

Creating the StackOne Connector Profile

To create the Connector Profile in StackOne for Facebook Lead Ads:
1

Open the connector

Log in to StackOne, open Connectors, and select Facebook Lead Ads.
2

Choose actions and events

  • Click Add Profile.
  • If the connector offers more than one authentication method, set the Auth Method filter to OAuth 2.0.
  • Select the actions, and any events, to enable for this Connector Profile.
  • Click Continue.
3

Set up authentication

  • Select Authentication Type as OAuth 2.0.
  • Fill out the fields using details retrieved from your provider:
    • App ID
    • App Secret
    • Permissions (Optional)
  • Click Create Profile.
Congratulations! The new Connector Profile now shows up on the connector page. If you created it as a project member rather than an admin, it starts disabled until a project admin enables it. You can now continue to Link Accounts for Facebook Lead Ads.