
Schedule
Schedule a post on a Facebook Page
Schedule content to be published at a future time on a Facebook Page
type: "io.kestra.plugin.meta.facebook.posts.Schedule"Examples
Schedule a post for tomorrow
id: facebook_schedule_post
namespace: company.team
tasks:
- id: schedule_post
type: io.kestra.plugin.meta.facebook.posts.Schedule
pageId: "{{ secret('FACEBOOK_PAGE_ID') }}"
accessToken: "{{ secret('FACEBOOK_ACCESS_TOKEN') }}"
message: "This post is scheduled for tomorrow!"
scheduledPublishTime: "{{ now() | dateAdd(1, 'DAYS') | date('yyyy-MM-dd HH:mm:ss') }}"
Schedule a post with Unix timestamp
id: "schedule"
type: "io.kestra.plugin.meta.facebook.posts.Schedule"
- id: schedule_unix_post
type: io.kestra.plugin.meta.facebook.posts.Schedule
pageId: "{{ secret('FACEBOOK_PAGE_ID') }}"
accessToken: "{{ secret('FACEBOOK_ACCESS_TOKEN') }}"
message: "Scheduled post with timestamp"
scheduledPublishTime: "1735689600"
link: "https://example.com"
Properties
accessToken*Requiredstring
Access Token
Facebook Page access token with appropriate permissions (pages_manage_posts, pages_manage_engagement, etc.)
message*Requiredstring
Message content to schedule in a post
The text content of the post
pageId*Requiredstring
Facebook Page ID
The ID of the Facebook page to perform operations on
scheduledPublishTime*Requiredstring
Scheduled Publish Time
When to publish the post. Accepts Unix timestamp or ISO 8601 string (e.g., 2025-10-26T10: 30: 00Z). Must be between 10 minutes and 30 days from now.
apiBaseUrlstring
https://graph.facebook.comBase API URL
The base URL for the Facebook Graph API
apiVersionstring
v24.0API Version
Facebook Graph API version to use
linkstring
Link URL
Optional link to include in the post