get_page_posts
Retrieve published Facebook Page posts with configurable fields, date filters, and pagination for ad performance analysis and reporting.
Instructions
Get published posts from a Facebook Page. Requires pages_read_engagement permission. Args: page_id: The ID of the Facebook Page. fields: Fields to return. Available: id, message, story, created_time, full_picture, permalink_url, shares, reactions, comments, insights{name,values}, attachments. Defaults to [id, message, created_time, permalink_url, shares]. limit: Maximum number of posts to return. after: Cursor for forward pagination. before: Cursor for backward pagination. since: Filter posts after this date (UNIX timestamp or YYYY-MM-DD). until: Filter posts before this date (UNIX timestamp or YYYY-MM-DD). Returns: A dictionary containing the list of posts and pagination info.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | ||
| limit | No | ||
| since | No | ||
| until | No | ||
| before | No | ||
| fields | No | ||
| page_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |