Meta Create

Meta Create

Certified

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.

yaml
type: io.kestra.plugin.meta.facebook.posts.Create

Create a simple text post

yaml
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

yaml
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

Access Token

Page access token with permissions such as pages_manage_posts and pages_read_engagement.

Post message

Text content to publish to the Page feed.

Facebook Page ID

ID of the Page the task operates on; must match the access token scope.

Defaulthttps://graph.facebook.com

Base API URL

Base Graph API URL. Defaults to https://graph.facebook.com.

Defaultv24.0

API Version

Facebook Graph API version to call. Defaults to v24.0.

Reference (ref) of the pluginDefaults to apply to this task.