Connect to Facebook Graph API to query Instagram Insights

Describe the problem/error/question

Hello, I’ve been trying for a few days to get Facebook Graph API node to work but it returns nothing but empty arrays. Anybody can offer any help ? I’m lost here … I would like to send my instagram stats and metrics to a slack channel.

What is the error message (if any)?

I get either an empty array and can’t get the access token or the cryptic “(#12) singular published story API is deprecated for versions v2.4 and higher”

Please share your workflow

Information on your n8n setup

  • n8n version: 15
  • Database (default: SQLite): postgresql
  • n8n EXECUTIONS_PROCESS setting (default: own, main): main
  • Running n8n via (Docker, npm, n8n cloud, desktop app): cloud via railway
  • Operating system: dunno

Hi @falz

Yeah, the Facebook API can be tricky to get right.

Have you tried the Facebook Graph API Explorer ?

Could be useful to play around with the access tokens and permissions there until you get your desired result.

1 Like

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