List
List posts from a Facebook Page
Retrieve a list of recent posts from a Facebook Page
type: "io.kestra.plugin.meta.facebook.posts.List"Examples
List Facebook page posts
id: facebook_list_posts
namespace: company.team
tasks:
  - id: list_posts
    type: io.kestra.plugin.meta.facebook.posts.List
    pageId: "{{ secret('FACEBOOK_PAGE_ID') }}"
    accessToken: "{{ secret('FACEBOOK_ACCESS_TOKEN') }}"
    limit: 10
List posts with specific fields
id: "list"
type: "io.kestra.plugin.meta.facebook.posts.List"
- id: list_detailed_posts
  type: io.kestra.plugin.meta.facebook.posts.List
  pageId: "{{ secret('FACEBOOK_PAGE_ID') }}"
  accessToken: "{{ secret('FACEBOOK_ACCESS_TOKEN') }}"
  limit: 5
  fields: "id,message,created_time,permalink_url,reactions.summary(true)"
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
apiBaseUrl string
https://graph.facebook.comBase API URL
The base URL for the Facebook Graph API
apiVersion string
v24.0API Version
Facebook Graph API version to use
fetchType string
FETCHSTOREFETCHFETCH_ONENONEThe way you want to store the data.
FETCH_ONE output the first row, FETCH output all rows, STORE store all rows in a file, NONE do nothing.
fields string
Fields
Comma-separated list of fields to retrieve for each post (e.g., id,message,created_time,permalink_url)
limit integerstring
100Limit
Maximum number of posts to retrieve