Page Insights metrics
page_insightsRetrieve Facebook Page insights for selected metrics (e.g., page_impressions, page_fans) with customizable time period and date range.
Instructions
GET /{page_id}/insights. Requires a Page Access Token (resolved automatically). Pass an array of metric names (e.g. [page_impressions, page_fans, page_post_engagements]). Period default is day; pass since/until as YYYY-MM-DD or unix seconds.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"page_id": "<page_id>",
"metric": "<metric>"
},
"name": "page_insights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | ||
| metric | Yes | ||
| period | No | ||
| since | No | ||
| until | No |