๐Ÿ“ฑ Automate Instagram & Facebook posting with Meta Graph API & System User Tokens

โšก 7,908 views ยท ๐Ÿ“ฑ Social Media & Email Marketing

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

๐Ÿ”— Nodes Used

HTTP Request, Schedule Trigger

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup