AgentHub

Automate Instagram & Facebook Posting with Meta Graph API & System User Tokens

This template automates posting to Instagram Business and Facebook Pages using the Meta Graph API. It supports both sho…

Live
Open / InstallLast updated July 27, 2026

Description

This template automates posting to Instagram Business and Facebook Pages using the Meta Graph API. It supports both short-lived and long-lived tokens, with a secure approach using System User tokens for reliable, ongoing automation. Includes detailed guidance for authentication, token refresh logic, and API use. Features: 📸 Publish to Instagram via /media + /media_publish 📘 Post to Facebook Pages via /photos 🔐 Long-lived token support via Meta Business System User ♻️ Token refresh support using staticData in n8n 🧠 In-line sticky note instructions Use Cases: Schedule and publish branded social media content Automate marketing flows with CRM + social sync Empower internal teams or clients to post without manual steps Tags: Instagram, Facebook, Meta Graph API, Social Media, Token Refresh, Long-Lived Token, Marketing Automation, System User. An n8n automation workflow template by Brian.

Author

Brian

Platform

web

Pricing model

free

Categories

Automation

Tags

n8n
workflow
http-request
code

Capabilities

  • 2 nodes
  • 436 views