# Cross-post from Instagram to Facebook

To cross-post from Instagram to Facebook with PubNio, send the Instagram post as written: it passes Facebook's checks. 6 of 10 publishing rules differ, and one request with a target for each network publishes both (provider rules read 2026-12-05).

## What changes from Instagram to Facebook

| Rule | Instagram | Facebook | What to change |
| --- | --- | --- | --- |
| Caption limit | 2,200 | 63,206 | 61,006 more than 2,200 |
| Text | optional | text, media, or link | any one of text, media, or `settings.link` is enough |
| Media per post | 1 photo; the `carousel` placement takes 2 to 20 | up to 10 photos or 1 video | up to 10 images, 1 before |
| Photo file PubNio accepts | JPEG, PNG; 25 MiB | JPEG, PNG; 4 MB | a file over 4 MB fails with `media_too_large` |
| Replies | `firstComment` | `thread` replies, `firstComment` | `targets[1].settings` takes its own `thread` |
| Account | account | Page | `targets[1].accountId` is a connected Facebook Page |

## What each network states

| Rule | Instagram | Facebook |
| --- | --- | --- |
| Caption | [2,200 characters](https://developers.facebook.com/docs/instagram-platform/instagram-graph-api/reference/ig-user/media) | not stated |
| Photo formats | [JPEG](https://developers.facebook.com/docs/instagram-platform/content-publishing/) | [JPEG, BMP, PNG, GIF, TIFF](https://developers.facebook.com/docs/graph-api/reference/page/photos/) |
| Photo size | [8 MB](https://developers.facebook.com/docs/instagram-platform/instagram-graph-api/reference/ig-user/media) | [10 MB](https://developers.facebook.com/docs/graph-api/reference/page/photos/) |
| API posts | [100 per account per 24 hours (also stated: 50, 25)](https://developers.facebook.com/docs/instagram-platform/content-publishing/) | not stated |

## One request for both

```http
POST /api/v1/posts?workspaceId=4e5f6a7b-8c9d-4e0f-9a1b-2c3d4e5f6a7b
Authorization: Bearer pn_live_***
Idempotency-Key: crosspost-instagram-to-facebook-1
Content-Type: application/json

{
  "text": "Golden hour on the north ridge trail. We hiked the last mile in near silence just to hear the wind come up the valley. If you go this month, start before six, carry twice the water you think you need, and leave the drone at home: the ridge is a nesting area until July. Route notes are in our profile. #hiking #trailrunning #goldenhour #outdoors #leavenotrace",
  "media": [
    {
      "mediaId": "8b2f3c4d-5e6f-4071-9283-94ab5c6d7e8f"
    }
  ],
  "publishNow": true,
  "targets": [
    {
      "accountId": "1c7e3b25-8d4e-4f69-8b21-3a5c7d9e1f22",
      "provider": "instagram",
      "placement": "feed"
    },
    {
      "accountId": "0b6f2a14-7c3d-4e58-9a10-2f4b6c8d0e11",
      "provider": "facebook",
      "placement": "feed"
    }
  ]
}
```

- `targets[0]` publishes to Instagram as `feed` and `targets[1]` to Facebook as `feed`; both use the uploaded photo in `media`.
- The 202 lists each target on its own: if Facebook fails, the Instagram post stands, and `posts.retry` retries Facebook alone.

## Sent unchanged to Facebook

A bare `targets[1]` still gets 202: this Instagram photo breaks no Facebook rule.

## Limits

- PubNio does not shorten the caption or fill in settings for Facebook: until both targets pass, create publishes neither.
- Create checks the photo's type, size, and count, not its pixel size or aspect ratio; Instagram and Facebook each crop or reject on their own.
- PubNio accepts an Instagram photo as JPEG or PNG up to 25 MiB; Meta states JPEG only, up to 8 MB. Before Instagram fetches the photo, PubNio converts a PNG, or a JPEG over 8 MB, to JPEG, whether it was uploaded or given by URL.

## Sources

- [IG User Media reference](https://developers.facebook.com/docs/instagram-platform/instagram-graph-api/reference/ig-user/media), read 2026-12-05
- [Instagram Platform: Content Publishing](https://developers.facebook.com/docs/instagram-platform/content-publishing/), read 2026-12-05
- [Graph API reference: Page Photos](https://developers.facebook.com/docs/graph-api/reference/page/photos/), read 2026-12-05

## Related

- [Instagram publishing API](https://pubnio.com/platforms/instagram)
- [Facebook Pages publishing API](https://pubnio.com/platforms/facebook)
- [Facebook media rules](https://pubnio.com/docs/providers/facebook/media/)
- [Facebook error codes](https://pubnio.com/docs/errors/facebook/)
- [Create a post](https://pubnio.com/docs/reference/posts-create/)
- [Retry one target](https://pubnio.com/docs/reference/posts-retry/)
- [Cross-posting between every pair](https://pubnio.com/cross-posting)

