Facebook Lead Trigger issue with permissions

Describe the problem/error/question

When accessing the Facebook Leads Trigger, after selecting the pages you want to authorize, no Page is shown in the list.

This may be related to how the permissions are given to a user inside a Business Manager (BM), where the user is given access to leads_retrieval inside the BM and not the page directly.

This is an everyday use case; when a client (from their BM) shares the page with your BM (the agency), you create and link an ads_account in your BM to the shared page and assign people/users inside your BM to manage these resources.

What is the error message (if any)?

The page list is blank.

Information on your n8n setup

  • n8n version: 1.14.0
  • Running n8n via (Docker, npm, n8n cloud, desktop app): n8n cloud
1 Like

Check and confirm we need to add permission: business_management to packages/nodes-base/credentials/FacebookLeadAdsOAuth2Api.credentials.ts

Github Issue: Facebook Leads Trigger: additional OAuth scopes needed · Issue #7615 · n8n-io/n8n · GitHub

Reference: Cannot Generate Page Access Token Using Facebook Graph API - Stack Overflow

Hey @spatialy,

It looks like you have opened this on GitHub as well, Please try to stick to one location so we don’t have multiple people looking at the same thing.

We will look at the PR shortly to see if it causes any other possible issues but at a quick glance it looks good to me it just depends on if you can use that scope if you don’t need it.

New version [email protected] got released which includes the GitHub PR 7616.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.