get_page_insights
Retrieve Facebook Page analytics for specified metrics and date ranges. Select metrics like page_impressions or page_engaged_users, set a period (day, week, month), and fetch insights to track page performance.
Instructions
Get Page analytics/insights (GET /{page-id}/insights).
Requires the Page access token to have the read_insights permission. metric is a comma-separated list, e.g. "page_impressions,page_engaged_users,page_fans,page_views_total". period is one of: day, week, days_28, month, lifetime.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_page_insights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | ||
| until | No | ||
| metric | No | page_impressions,page_engaged_users,page_fans | |
| period | No | day | |
| page_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||