Post to Facebook, Instagram or Threads
post_to_metaPublish text, links, images, or videos to a Facebook Page, linked Instagram account, or connected Threads account. Immediately posts content after user confirmation.
Instructions
Publish to a connected Facebook Page, its linked Instagram, OR the brand’s Threads account — text/link/image/VIDEO. target:"facebook" (default) posts to the Page; target:"instagram" publishes a photo or Reel to the linked IG business account (needs an image or video); target:"threads" posts to the connected Threads account (text, image, or video). Works with ANY media — a finished Hermoso ad OR an arbitrary user file: imageUrl/videoUrl accept a public https URL, a data: URI, or a Hermoso /generated path; for a LOCAL file (e.g. on the user’s desktop) call upload_file first and pass the url it returns. This PUBLISHES immediately — confirm the copy + media with the user first. Needs a connected Meta account (Settings ▸ Connectors ▸ Meta) with posting permission; Threads needs its own connection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | No | a URL to attach (FB text post only) | |
| pageId | No | target Page id (from list_meta_pages); omit = first Page | |
| target | No | default facebook; instagram → the Page’s linked IG; threads → the brand’s connected Threads account | |
| message | No | post text / caption | |
| imageUrl | No | public https URL, a data: URI, or a Hermoso /generated path (upload_file gives you one for a local file) | |
| videoUrl | No | public https URL, data: URI, or /generated path — FB video post / IG Reel |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| url | No | ||
| page | No | ||
| postId | No | ||
| target | No | ||
| account | No |