Delete a post from a Facebook Page

Delete a specific post from a Facebook Page using its post ID

yaml
type: "io.kestra.plugin.meta.facebook.posts.Delete"

Delete a Facebook post

yaml
id: facebook_delete_post
namespace: company.team

tasks:
  - id: delete_post
    type: io.kestra.plugin.meta.facebook.posts.Delete
    pageId: "{{ secret('FACEBOOK_PAGE_ID') }}"
    accessToken: "{{ secret('FACEBOOK_ACCESS_TOKEN') }}"
    postIds:
      - "123456789_987654321"

Delete multiple Facebook posts

yaml
id: "delete"
type: "io.kestra.plugin.meta.facebook.posts.Delete"
- id: delete_multiple_posts
  type: io.kestra.plugin.meta.facebook.posts.Delete
  pageId: "{{ secret('FACEBOOK_PAGE_ID') }}"
  accessToken: "{{ secret('FACEBOOK_ACCESS_TOKEN') }}"
  postIds:
    - "123456789_987654321"
    - "123456789_987654322"
    - "123456789_987654323"
Properties

Access Token

Facebook Page access token with appropriate permissions (pages_manage_posts, pages_manage_engagement, etc.)

Facebook Page ID

The ID of the Facebook page to perform operations on

SubType string

Post IDs

List of post IDs to delete (format: pageId_postId)

Default https://graph.facebook.com

Base API URL

The base URL for the Facebook Graph API

Default v24.0

API Version

Facebook Graph API version to use