Skip to main content
Facebook API

Facebook Analytics API

Track Facebook Page post engagement programmatically. Pull likes, comments, and shares for every post on every Page you manage — without touching the Graph API yourself.

  • Likes, comments, and shares per Page post
  • List recent posts for any connected Page
  • Look up metrics for a single post by ID
  • No Facebook developer app or App Review on your side
No credit card required.
POST https://api.postpeer.dev/v1/posts
{ "platforms": ["twitter", "linkedin", "instagram], "content": "Hello world!" }
Published
5 platforms
TwitterLinkedInFacebook+2
All posts delivered
Scheduled
queue
12
Queued
847
Sent
Next: in 15 min
Platforms
connected
XIGFBLITT
One API, every platform
DF

"I was up and running on six different platforms in under 30 minutes. Strongly recommend!"

David Flor, Founder at Darklight Interactive

Divanshu KhatterMarketing Manager at Sembark

"Couldn't figure out the official Pinterest API. PostPeer was smooth. Using it daily."

Divanshu Khatter, Marketing Manager at Sembark

Het TikawalaFounder at Kalizzle AI Studio

"Great integration experience. Jonathan ships fixes within hours. Mad respect for the speed."

Het Tikawala, Founder at Kalizzle AI Studio

How It Works

Add social media to your product in three steps.

01

Get Your API Key

Sign up and get your API key instantly — no sales calls, no complex onboarding.

02

Integrate in Minutes

A single endpoint to post, schedule, and manage content. Drop it into your product and go.

03

Your Users Post Everywhere

Your product now supports every major social platform — without you maintaining a single integration.

API Response Format

Clean, structured JSON that's easy to parse and integrate

Request

POST
curl "https://api.postpeer.dev/v1/analytics?platform=facebook&accountId=acc_fb_page_456&sortBy=likes&order=desc&limit=10" \
  -H "x-access-key: your-api-key"

Response

JSON
{
  "success": true,
  "total": 1,
  "page": 1,
  "limit": 10,
  "posts": [
    {
      "source": "platform",
      "postId": null,
      "content": "Big launch today — check it out",
      "publishedAt": "2026-05-28T14:22:00Z",
      "aggregated": {
        "impressions": null,
        "reach": null,
        "likes": 142,
        "comments": 18,
        "shares": 9,
        "saves": null,
        "clicks": null,
        "views": null,
        "engagementRate": null
      },
      "platforms": [
        {
          "platform": "facebook",
          "platformPostId": "123456789_987654321",
          "platformPostUrl": "https://www.facebook.com/yourpage/posts/987654321",
          "metrics": {
            "impressions": null,
            "reach": null,
            "likes": 142,
            "comments": 18,
            "shares": 9,
            "saves": null,
            "clicks": null,
            "views": null,
            "engagementRate": null
          }
        }
      ]
    }
  ]
}

Everything You Need for Facebook Page Analytics

Get Page post engagement data without managing Facebook's Graph API directly. Same response shape as every other PostPeer analytics endpoint.

Per-Post Engagement

Get likes, comments, and shares for every Facebook Page post. See exactly how each piece of content is performing.

Multi-Page Support

Every Page a user admins gets its own integration ID. Track analytics across all of them with the same access key.

Recent Post Listing

List the most recent posts from any connected Page, with inline metrics. Great for dashboards that show "latest performance" at a glance.

Unified Analytics Endpoint

Same shape and filtering as Twitter, YouTube, Pinterest, LinkedIn, and TikTok analytics. Add Facebook to your dashboard without writing a new integration.

Date Range Filtering

Filter by date range to find your best-performing posts over any window up to 366 days back. Sort by likes, comments, or shares.

No Meta App Review

Skip the Meta Business verification, App Review, and OAuth wrangling. PostPeer is approved for `pages_read_engagement` and handles the auth flow end to end.

Frequently Asked Questions

Ready to Add Social Media to Your Product?

One API. Every platform. Start building with free credits.

Start Posting for FreeNo credit card required.
POST https://api.postpeer.dev/v1/posts
{ "platforms": ["twitter", "linkedin", "instagram], "content": "Hello world!" }
Published
5 platforms
TwitterLinkedInFacebook+2
All posts delivered
Scheduled
queue
12
Queued
847
Sent
Next: in 15 min
Platforms
connected
XIGFBLITT
One API, every platform