Cross-Post to Facebook Page & Instagram
meta_cross_postPublish a single post to both Facebook and Instagram at once. Supports photo posts, Reels, and text updates, with each platform handled independently to avoid failures.
Instructions
Publishes the same content to both a Facebook Page and Instagram simultaneously.
Requires: meta_list_pages must be called first to load page tokens.
Args:
page_id (string): Facebook Page ID
ig_account_id (string): Instagram professional account ID
message (string): Text content (used as FB post text and IG caption)
image_url (string, optional): Public image URL — creates photo posts on both platforms
video_url (string, optional): Public video URL — creates Reels on both platforms
Logic:
If image_url: FB photo post + IG photo post (parallel)
If video_url: FB Reel + IG Reel (parallel)
If text only: FB text post only (IG doesn't support text-only posts)
Uses Promise.allSettled so one platform failing doesn't block the other
Returns: Results from both platforms (which succeeded, which failed).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Text content / caption for both platforms | |
| page_id | Yes | Facebook Page ID | |
| image_url | No | Public image URL for photo posts | |
| video_url | No | Public video URL for Reels | |
| ig_account_id | Yes | Instagram professional account ID | |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for machine-readable | markdown |