OverviewPlatformsAPI ReferenceResources
Posting Analytics

Get Facebook post reactions

GEThttps://zernio.com/api/v1/accounts/{accountId}/facebook-post-reactions

Returns the reaction breakdown for a Facebook Page post: a count per reaction type plus the overall total.

The whole breakdown is fetched in a single Graph call. The post analytics endpoint reports only an aggregate reaction count (surfaced there as likes), so use this endpoint when you need per-type counts.

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Path parameters

accountIdstringRequired

The ID of the Facebook Page account

Query parameters

postIdstringRequired

The Facebook post ID

Responses

Success· the request worked

Errors· the request failed

Get Facebook Page insights

Returns page-level Facebook insights (media views, reach, views, post engagements, reaction counts, video metrics, follower counts). The response shape matches /v1/analytics/instagram/account-insights, so the same client handling works across platforms. Max 89 days, defaults to last 30 days. ### Metric names Metric names track the current (post-November 2025) Meta Graph API. These legacy metrics were deprecated by Meta on November 15, 2025 and are NOT accepted by this endpoint: - page_impressions - page_fans - page_fan_adds - page_fan_removes page_impressions_unique is deprecated above Graph API v25 and is not accepted; use page_total_media_view_unique. Meta's Page Insights reference (https://developers.facebook.com/docs/graph-api/reference/insights) also deprecates a number of Page Insights metrics for all API versions by June 15, 2026. Use the replacements below. Because Meta did not provide direct adds/removes replacements, Zernio synthesizes followers_gained / followers_lost from the daily follower snapshotter.

Get Facebook post monetization earnings

Returns lifetime monetization earnings for ONE Facebook post, read live from Meta on every request. ### Lifetime totals only Earnings are CUMULATIVE since the post was published, not earnings within a date range. So this endpoint takes no since/until, and the totals must not be summed across dates or across posts. Page-level daily earnings live on /v1/analytics/facebook/page-insights. ### Zeros and missing metrics - A post on a Page that is not enrolled in monetization, or that earned nothing, returns "total": 0 rather than an error: Meta does not distinguish the two. - A metric Meta returned no bucket for at all is reported in "unavailableMetrics" and omitted from "metrics", never as a 0. Amounts are the platform's raw numbers in the stated "unit" and are never rescaled by Zernio. ### Rejected parameters These are rejected with 400: - "breakdown": breakdown dimensions are not exposed. - "since", "until", "period", and "metricType": scoping this endpoint to a window is not possible. Silently returning the lifetime total for a window would let a caller sum a year of weekly requests into a figure ~52x the post's real earnings.

GET/v1/accounts/{accountId}/facebook-post-reactions
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.analytics.getFacebookPostReactions({  path: {    accountId: 'account_abc123',  },  query: {    postId: 'post_abc123',  },});console.log(data);
{  "accountId": "60f7a1b2c3d4e5f6a7b8c9d0",  "platform": "facebook",  "username": "My Page",  "postId": "1234567890_9876543210",  "total": 28,  "breakdown": {    "like": 10,    "love": 5,    "haha": 4,    "wow": 3,    "sad": 2,    "angry": 1,    "care": 3  },  "lastUpdated": "2026-07-09T09:43:50.000Z"}
OpenAPI specification
Was this page helpful?