
Meta Delete
CertifiedDelete Facebook Page posts
Meta Delete
Certified
Delete Facebook Page posts
Deletes one or more Page posts by ID (pageId_postId format). Continues through the list and reports successes and failures.
yaml
type: io.kestra.plugin.meta.facebook.posts.DeleteExamples
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_facebook_posts
namespace: company.team
tasks:
- 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
Page access token with permissions such as pages_manage_posts and pages_read_engagement.
pageId *Requiredstring
Facebook Page ID
ID of the Page the task operates on; must match the access token scope.
postIds *Requiredarray
SubTypestring
Post IDs
Post identifiers in pageId_postId format to delete.
apiBaseUrl string
Default
https://graph.facebook.comBase API URL
Base Graph API URL. Defaults to https://graph.facebook.com.
apiVersion string
Default
v24.0API Version
Facebook Graph API version to call. Defaults to v24.0.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.