fb_publish_post
Publish Facebook Page posts with validation against banned topics, image requirements, and duplicate prevention. Supports scheduling.
Instructions
Publish a post on a Facebook Page via Meta Graph API.
Args: page_id: Numeric Meta Page ID. message: Post message body. image_url: Optional public URL of an image. If config requires images, this MUST be provided (validation will block otherwise). scheduled_at: Optional unix timestamp (seconds). If set, the post is scheduled instead of published immediately. Meta requires 10 minutes <= delta <= 6 months. page_access_token: Optional page-scoped token. Required by Meta in production for posting on a Page (the env-level token is usually a user token; you can derive a page token from /me/accounts). skip_validation: If True, bypasses the pre-publish validator (image required, banned topics, anti-duplicate). Default False — strongly recommended to keep validation on.
Returns:
Dict with ok, post_id (if success), error (if failure),
and a validation block when validation ran.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | ||
| message | Yes | ||
| image_url | No | ||
| scheduled_at | No | ||
| page_access_token | No | ||
| skip_validation | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||