I’ve configured Meta Developers Messenger API with n8n and it has been working so far, but now for some reason although everything is live and in production, the n8n won’t trigger. Is it the Messenger’ API’s fault? Because when I try Test Webhook URL of n8n to Meta, it receives it. But when I switch to production, n8n won’t receive it.
Welcome to the N8n community @Jan_Florent_Medellin
You said test Webhook URL receives it, but production won’t trigger right.
Recall that Meta has a warning that says: “Apps will only be able to receive test webhooks sent from the panel while they are unpublished. No production data, including that of app admins, developers, or testers, will be delivered unless the app has been published.”
If you created your Meta app recently, you’re likely affected by a dashboard change. Even with the “Production” toggle on, real user messages will not be sent unless your app has completed App Review for the pages_messaging permission and is fully published.
Does your Meta dashboard say “Test API” or “Simulator” at the top?
My app was running just about last month with the permissions only using messages and messages_reads, so I guess the problem is due to this change as I initially suspected. I just hoped it wasn’t the case as the app review process was a little tedious, but I guess I have to comply. As for the Meta dashboard, it doesn’t show either.
Unfortunately, configuring everything in Meta is a real hassle, not to mention that they change something every three months.
I recommend making sure that the webhook is set up correctly in all the webhook and Messenger sections of your app.
Make sure it’s properly verified and that you’re subscribed to the correct events.
You also need to ensure that your app is correctly linked to the page or profile from which you need to use Messenger.
You must also ensure that there is a user with an unlimited, non-expiring token and all the necessary permissions in Business Manager, that this user is linked to your app, and that your app can see them among the users, including test users.
It is not necessary for your app to be verified if it is for internal use within your company.
I’ve double checked and reconfigured the webhooks and events and I can fairly say they aren’t the issue.
Does me being the administrator and owner still matter regarding the non-expiring tokens? If so where can I configure them?
Also, this app actually is meant to be a chatbot for a page, so I’m unsure if it can still work without the app review (just as they were working before). I am hoping so, as it is super meticulous.
