Schedule
Schedule a Facebook Page post
Schedule
Schedule a Facebook Page post
yaml
type: io.kestra.plugin.meta.facebook.posts.ScheduleExamples
yaml
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') }}"
yaml
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
message *Requiredstring
pageId *Requiredstring
scheduledPublishTime *Requiredstring
apiBaseUrl string
Default
https://graph.facebook.comapiVersion string
Default
v24.0