SocialAPI.ai

The Facebook Page API without the Graph API grind

Everything your Facebook Page does, through one API.

  • Free tier, no credit card
  • Instant API key
  • MCP server included
On Facebook

Ledge Skate & Shoe

October 6 at 2:00 PM

New white lows just landed. In store Saturday, all sizes.

Most relevant
  • Maya R.

    Do these come in black?

    Author

    Ledge Skate & Shoe

    Yes, black with a gum sole, sizes 36 to 46.

  • Jin K.

    Skated mine all weekend, the grip is unreal.

POST/v1/inbox/comments/{postId}200 OK

Capabilities: What you can build on Facebook

Every capability is one endpoint, the same one you call on every other platform.The screens show where each call lands.

  • Direct Messages

    List and read Messenger conversations, and send text or media replies (image, video, audio, or file, up to 25 MB) within Meta's 24-hour messaging window.

    • GET/v1/inbox/conversations
    • POST/v1/inbox/conversations/{id}/messages

    Anne M.

    Active now

    Anne M.

    Thu 6:42 PM

    Do you do fittings?

    Yes, every Saturday morning.

    9:12 AM
    ❤️

    Wore these out in a year. Anything tougher?

    You replied to Anne M.

    Wore these out in a year. Anything tougher?

    Double-stitched toe cap, sizes 36 to 46.

    Book a fittingSend sizes
  • Publishing

    Publish text posts, photos, link posts, videos, and Reels (content_type: "reel") to your Facebook Page, and delete any of them afterward.

    • POST/v1/posts

    Ledge Skate & Shoe

    October 6 at 2:00 PM

    New white lows just landed. In store Saturday, all sizes.

  • Comments

    Read comments on Page posts, reply publicly, or send a one-time private Messenger reply to the commenter. Fetch the reply thread under a comment, and hide, unhide, like, unlike, or delete comments.

    • GET/v1/inbox/comments/{postId}
    • POST/v1/inbox/comments/{postId}
    • read
    • reply
    • private reply
    • hide
    • like
    • delete
  • Mentions

    Retrieve posts where your Page is tagged, and reply publicly to the mention, even when it sits on someone else's post.

    • GET/v1/accounts/{id}/mentions
    • tagged posts
    • public reply
  • Webhooks

    Get real-time notifications for new comments, Messenger messages, mentions, and removed Pages through SocialAPI.ai's own webhook system.

    Webhook events

    • comment.received
    • dm.received
    • mention.received

On every platform

  • Agent-ready

    Every Facebook capability is a typed tool on the SocialAPI.ai MCP server.

    • social_api_list_post_comments
    • social_api_send_dm
    • social_api_validate_post
  • One API key

    The key that calls Facebook calls all 13 platforms.

    Authorization: Bearer sapi_key_…
  • Predictable errors

    The same status codes everywhere, whatever the platform behind them.

    • 401expired token
    • 429rate limited
    • 501not on this platform

Call the Facebook API

List comments on a Facebook Page post

Pull every comment on a Page post, including per-comment capability flags for reply, hide, like, and private reply. SocialAPI.ai resolves the correct Page access token automatically.

curl "https://api.social-api.ai/v1/inbox/comments/<post-id>?account_id=<account-id>" \
  -H "Authorization: Bearer <your-api-key>" | jq

# Response
{
  "data": [
    {
      "id": "sapi_cmt_GXRM4BNTW7KFYSD3HAEV6QJZ2CLP9U",
      "platform": "facebook",
      "text": "Great post!",
      "author_username": "janesmith",
      "author_name": "Jane Smith",
      "created_at": "2026-03-20T15:10:00Z",
      "capabilities": {
        "can_reply": true,
        "can_hide": true,
        "can_like": true,
        "can_delete": true,
        "can_private_reply": true
      }
    }
  ],
  "pagination": { "has_more": false, "next_cursor": "" }
}

Comparison: The official API vs one API key

AspectThe Meta Graph APIWith SocialAPI.ai
Getting accessThe Meta Graph APIRegister a Meta app, request permissions, and pass App Review before real users can connect.With SocialAPI.aiNo Meta registration or review. Connect a Page through OAuth and start reading comments in minutes.
Messenger windowsThe Meta Graph APITrack the 24-hour messaging window and message-tag rules in your own code.With SocialAPI.aiSend replies through one endpoint; a closed window comes back as a clear, structured error instead of a raw platform failure.
Private repliesThe Meta Graph APIA separate private-replies flow with its own permission and constraints.With SocialAPI.aiOne POST to the private-reply endpoint sends a one-time Messenger DM to the commenter, using a permission SocialAPI.ai's managed app already holds.
API versioningThe Meta Graph APIGraph API versions retire on a schedule; every retirement is a migration.With SocialAPI.aiVersion bumps happen behind the unified schema. Your integration doesn't change.

In depth: How the Facebook API works on SocialAPI.ai

Read and reply to comments, answer Messenger conversations, track where your Page is tagged, and publish everything from link posts to Reels through one REST API. SocialAPI.ai runs the Meta app and app review, so you never touch a Graph API changelog.

Comment moderation and private replies

Read every comment on your Page's posts, reply publicly, or send a one-time private Messenger reply to the commenter without switching endpoints. Fetch the reply thread under any comment, and hide, unhide, like, unlike, or delete the ones you don't want visible. Each comment comes back with capability flags so your code knows what's allowed before it tries.

Messenger conversations

List and read Messenger conversations tied to your Page, and reply with text, an image, a video, an audio clip, or a file. SocialAPI.ai infers the attachment type from the URL you send (up to 25 MB) and enforces Meta's 24-hour standard messaging window, returning a clear error once it closes.

Mention tracking and replies

Pull every post where your Page is tagged, scoped to that connected account. Reply publicly to a mention even when it sits on someone else's post, something the standard comment-reply endpoint can't do.

Posting, Reels included

Publish text updates, photo and link posts, standard videos, and Reels to your Facebook Page, then delete any of them later. Set content_type: "reel" in a video target's platform_data and SocialAPI.ai runs Meta's Reels upload and processing flow for you, including the wait until it's published.

A managed Meta app, not yours

SocialAPI.ai's Meta app already passed App Review and holds every permission your Page needs, from pages_messaging to pages_manage_posts. Connect a Page through OAuth and you're reading comments in minutes, with no Meta for Developers account or review wait on your side.

Simple, honest pricing.

Reading comments, DMs, and mentions is free and unlimited on every plan. Paid plans start at $29/mo with unlimited posts and interactions. The free tier needs no credit card.

Frequently asked questions

What developers ask before they ship Facebook.

Does Facebook have an API for Pages?

Yes. The Meta Graph API covers Facebook Pages, posts, comments, Messenger, and mentions, but only for Pages, not personal profiles. SocialAPI.ai is a managed connector: our Meta app already passed App Review, so you connect a Page through OAuth without registering your own Meta for Developers app.

Is the Facebook Graph API free?

Meta doesn't charge per call, but reading and replying on real Pages first requires your app to pass Meta's App Review, which can take weeks. SocialAPI.ai skips that wait: start on the free tier, or move to a paid plan from $29/mo for higher volume.

Can I reply to Facebook comments through the API?

Yes, either as a public reply anyone can see or as a one-time private Messenger reply to just the commenter. Private replies are limited by Meta to one per comment, sent within 7 days of the original comment.

Can I send Messenger messages via the API?

Yes, within Messenger's 24-hour window after the user's last message. Messages can carry text, an attachment (image, video, audio, or file up to 25 MB), or both.

Can I get Facebook Page reviews through the API?

No. Meta deprecated Page reviews in Graph API v22.0, and no third party, SocialAPI.ai included, can read them anymore.

Can I publish Reels through the API?

Yes. Set content_type: "reel" in a target's platform_data in POST /v1/posts with one vertical video (9:16, 3 to 90 seconds), and SocialAPI.ai runs Meta's Reels upload and processing flow for you. Add share_to_feed: true to also show it in the Page feed.

Can AI agents manage my Facebook Page?

Yes. The built-in MCP server exposes comment replies, Messenger messages, mentions, and publishing as tools, so Claude and other MCP-capable agents can act on your Page inside your existing approval flow.

Every other platform, one API: Every other platform, one API

Same key, same shapes, same webhook.

Ready to unify your social interactions?

Free tier available. No credit card required. Ships with the MCP server.