Page Report
facebook_get_page_reportGenerate a Facebook Page performance report comparing a chosen window with the preceding period, including follower changes, reach, views, engagement, and top posts.
Instructions
One-call Page performance report over a window (default last 28 days, [since, until) in Pacific Time) compared with the preceding window of equal length: followers (stock change reconciled with daily follows − unfollows), reach, views, engagement and Page views, each with its derivation (method) and a period-over-period delta ({abs, pct}; pct null when the previous value is 0), plus the top posts published in the window with lifetime post insights. Reach is a unique audience read from Meta's rolling 7- or 28-day window — other spans report reach as unavailable instead of summing daily uniques. eligible:false means every insights metric came back empty (usually a Page under 100 followers or a token without read_insights), not zero activity. For raw series use facebook_page_insights.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | Only with window "custom" (required there). Inclusive, YYYY-MM-DD. | |
| until | No | Only with window "custom" (required there). Exclusive, YYYY-MM-DD; span ≤ 90 days. | |
| top_by | No | engagement = reactions + comments + shares. | engagement |
| window | No | Preset windows end at today 00:00 Pacific (exclusive), so the partial current day is excluded. "custom" needs since + until. | last_28_days |
| compare | No | Also read the immediately preceding window of equal length. | |
| profile | No | Page profile key (e.g. "brand-a") or a raw Page ID. Omitted ⇒ the default Page (FB_PAGE_ID). | |
| top_posts | No | How many top posts to list (0 skips the post scan). |