Delete
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"Examples
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
accessToken *Requiredstring
Access Token
Facebook Page access token with appropriate permissions (pages_manage_posts, pages_manage_engagement, etc.)
pageId *Requiredstring
Facebook Page ID
The ID of the Facebook page to perform operations on
postIds *Requiredarray
 SubType string
Post IDs
List of post IDs to delete (format: pageId_postId)
apiBaseUrl string
 Default 
https://graph.facebook.comBase API URL
The base URL for the Facebook Graph API
apiVersion string
 Default 
v24.0API Version
Facebook Graph API version to use