How to post Facebook Page using the Facebook Graph API node?

Describe the issue/error/question

When trying to post to my company Facebook page using the Graph API, I am getting the following error:
(#200) If posting to a group, requires app being installed in the group, and \ either publish_to_groups permission with user token, or both pages_read_engagement \ and pages_manage_posts permission with page token; If posting to a page, \ requires both pages_read_engagement and pages_manage_posts as an admin with \ sufficient administrative permission

I have verified that the app has the right permissions in the developer portal.

I’m wondering if anyone here has any experience using N8N + the Facebook Graph API to post messages to a Page, and if so what am I doing wrong?

Please share the workflow

Information on your n8n setup

  • n8n version: 0.196.0
  • Database you’re using (default: SQLite): Postgres
  • Running n8n with the execution process [own(default), main]: own
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]: Kubernetes

Hey all, I answered my own question.

Turns out I was looking in the wrong area for where to adjust the permissions.

It’ s not the app permissions that needed adjusting but the token in the Facebook Graph API Explorer.

Not only did I need to add the missing permissons here, but I also needed to copy the Page Token instead of the User Token.

Hope this helps someone else.

Thanks,

1 Like

Thanks so much for confirming @joeldeteves and for sharing your solution! Tbh, the Facebook API really is confusing, I always panic when questions around it pop up :smiley:

1 Like