# PubNio publishing API for Facebook Pages

Human page: https://pubnio.com/platforms/facebook
MCP guide: https://pubnio.com/facebook-mcp.md

## Summary

PubNio provides a unified Facebook Pages Publishing API for Feed posts, Reels, and Stories alongside normalized post analytics (impressions, reach, engagements, link clicks). Connect unlimited Facebook Pages for $0 per account, validate drafts before sending, schedule into weekly queues, and receive signed HMAC-SHA256 webhooks on confirmed delivery.

PubNio is a third-party service. Availability depends on platform approval and account permissions.

## Capabilities & limits

| Capability | Details |
| --- | --- |
| Supported placements | Feed (text, image, video), Reel, Story |
| Account prerequisite | Facebook Page authorized via Meta OAuth |
| Scheduling | Explicit ISO 8601 timestamp or per-account weekly queue |
| Post analytics | Live lifetime totals & daily observations |
| Pricing | $0/account; 100 free confirmed publishes/mo, then $5/1k (or Pro $29 / Platform $149) |

## OAuth & prerequisites

- Users connect Facebook Pages in the browser via Meta OAuth; PubNio discovers managed Pages and stores encrypted Page tokens.
- Missing analytics scopes never block publishing or disable connected Pages.

## Preflight validation

- Verifies Page token readiness and required publish permission before hitting Meta Graph.
- Validates media presence, MIME types, and placement compatibility for Reels and Stories.
- Detects duplicate targets and conflicting queue vs. explicit schedule timestamps.

## TypeScript SDK example

```ts
const draft = await workspace.posts.create({
  isDraft: true,
  text: "Q4 release notes are live.",
  targets: [
    { accountId: facebookPageId, placement: "feed", media: [{ mediaId: imageId }] },
  ],
});
await workspace.posts.validate(draft.postId);
const job = await workspace.posts.publish(draft.postId, {
  idempotencyKey: "fb-release-q4",
});
```

## CLI example

```sh
pnio posts create --draft --workspace $WORKSPACE_ID \
  --account $FACEBOOK_PAGE_ID --placement feed \
  --text "Q4 release notes are live." --publish
```

## FAQs

### Can PubNio publish Facebook Reels and Stories as well as Feed posts?

Yes. PubNio supports Facebook Page Feed posts, Reels, and Stories through one normalized target schema.

### Do I pay extra per connected Facebook Page?

No. Connected Facebook Pages cost $0 per account across Pay as you go, Pro, Platform, and Enterprise.
