Facebook Trigger: (#190) Application Secret required for this endpoint

Hello!

I am trying to connect the Facebook Trigger in n8n.

What I have done:

  • Created an app in Meta for Developers

  • Granted it all necessary permissions:

    • pages_manage_posts

    • pages_read_engagement

    • pages_show_list

    • pages_read_user_content

    • …and others

  • Obtained a long-term token

  • Made sure the app is in Live (Production) mode

  • Configured the “Manage everything on your Page” usage scenario

Problem:
When I start the trigger, I get the following error:

Facebook Trigger: (#190) Application Secret required for this endpoint

When connecting the webhook, I also get an error.
For the webhook connection, I am using the URL from the Facebook Trigger node in n8n.

Questions:

  1. How exactly can I connect the Facebook Trigger to Facebook?

  2. Do I need to enable anything else in the Facebook App settings for the Webhook to work?

Any help or a step-by-step working configuration guide would be greatly appreciated!

1 Like

@Relax_Station I see that you state you granted permissions to the app, did you select the correct token type ? You need to select “Get App Token” by default it will be set to “Get User Access Token” (which displays as “Get Token” when the dropdown is closed)

Ensure to select “Get App Token” as highlighted below, you can then generate a new token which you use in the n8n trigger node

setup guide can be found here Facebook App credentials | n8n Docs

I used a page access token. Do I need an app token?

Yes you need to use an App Token

Thank you. I will try)))

still gives an error

It looks like you might have other nodes in your flow that are failing. Please check that none of the other nodes are in an error state.

It is the first one I have and I tested it with the Execute step button. Further in the chain there are blocks that have not yet been configured.

It seems from the error message that the nodes that have not been configured are causing the error, for testing, I would suggest deleting the nodes that are not configured.

Hello, Relax_station.

Were you able to solve it? In the META documentation, the Facebook trigger is activated with the app access token. This string is what you should enter in the N8N credentials in the access token field.

Facebook Trigger: (#190) Application Secret required for this endpoint. It’s possible that this key is the one you have in the settings of your app on META.

To do this, you have to go to your app on the META site, go to app settings > basic. A page with data should appear there, where you’ll find the App ID, and next to it, the App Secret. You have to copy that key and paste it below the access token key that you previously pasted in the Facebook trigger node.

In summary: Facebook trigger N8N Credentials Access token field: You generate it from Facebook Api Graph Explorer > access token > (important) selection of get app token. App secret field: META app > app settings > basic > app secret.

I hope this helps. Regards.

App access token will be {APP_ID}|{APP_SECRET} . that wok for me

The topic is about app secret is not being recognized.

BTW did anyone find solution on this issue? I spent 14 hours and nothing can do to overcome this.