
Meta Create
CertifiedPublish a Facebook Page post
Meta Create
Publish a Facebook Page post
Publishes a post to the Page feed with required message text and an optional link. Requires a Page access token with publish permissions.
type: io.kestra.plugin.meta.facebook.posts.CreateExamples
Create a simple text post
id: facebook_create_post
namespace: company.team
tasks:
- id: create_post
type: io.kestra.plugin.meta.facebook.posts.Create
pageId: "{{ secret('FACEBOOK_PAGE_ID') }}"
accessToken: "{{ secret('FACEBOOK_ACCESS_TOKEN') }}"
message: "Hello from Kestra! This is an automated post."
Create a post with link
id: create_facebook_post
namespace: company.team
tasks:
- id: create_post_with_link
type: io.kestra.plugin.meta.facebook.posts.Create
pageId: "{{ secret('FACEBOOK_PAGE_ID') }}"
accessToken: "{{ secret('FACEBOOK_ACCESS_TOKEN') }}"
message: "Check out this amazing automation platform!"
link: "https://kestra.io"
Properties
accessToken *Requiredstring
Access Token
Page access token with permissions such as pages_manage_posts and pages_read_engagement.
message *Requiredstring
Post message
Text content to publish to the Page feed.
pageId *Requiredstring
Facebook Page ID
ID of the Page the task operates on; must match the access token scope.
apiBaseUrl string
https://graph.facebook.comBase API URL
Base Graph API URL. Defaults to https://graph.facebook.com.
apiVersion string
v24.0API Version
Facebook Graph API version to call. Defaults to v24.0.
link string
Link URL
Optional HTTP/HTTPS link to attach to the post.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.