# Facebook Pages API: post text, photos and links with APIWings

> Publish to Facebook Pages with the APIWings API - connection with Facebook Login for Business, one account per Page, text, up to 10 photos, link previews, video, visibility and errors.

- Canonical URL: https://apiwings.com/docs/facebook
- Updated: 2026-11-23
- Publisher: APIWings

**Status: coming soon.** The APIWings integration with Facebook is in review: it opens to beta teams once the network approves it. This page describes how it works.

## Accounts

**Facebook Pages** only (business Pages and public figure or creator Pages). Meta does not let apps publish to personal Facebook profiles.

## Connecting

`POST /v1/profiles/{id}/connect/facebook` returns a `connect_url`. The user signs in with their personal Facebook profile, as someone who manages the Page, and selects the Pages to share. **One consent = one connected account per Page selected**; `account_ids` in the redirect lists them all. Ask users to select only the Pages they want to use.

If no Page is selected, the connection fails with a message asking to select at least one.

The connection does not expire by itself. The user must reconnect if they remove APIWings from their Facebook business integrations, stop managing the Page or change their Facebook password; you then get `account.disconnected`.

## Supported content

| | Rule |
|---|---|
| Text | Facebook allows 63,206 characters; through APIWings, up to 10,000 (the per-request limit). Text-only posts are supported. |
| Text or media | A post needs text, images or a video. |
| Images | Up to 10 per post. JPEG, PNG or GIF (not WebP), up to 4 MB each. One image is a photo post; several are one post with all the photos attached. |
| Video (in testing) | One video per post, alone (no images in the same post). MP4 or MOV, up to 1 GB. Facebook downloads and processes it. |

## Options

| Option | Type | Meaning |
|---|---|---|
| `link` | string (http or https URL) | Link attached to a text-only post; Facebook shows its preview. Not allowed with images or video. |

```json
{ "platform": "facebook", "options": { "link": "https://example.com/spring-sale" } }
```

## Result and visibility

- `visibility`: `public`, or `draft` if Facebook reports the post as not published. APIWings reads it back from Facebook after publishing.
- `url`: the post's permalink on facebook.com.

## Limits

Facebook Pages have no fixed daily post quota. Meta applies rate limits per Page and per app; when one is reached the post fails with `rate_limited` and is retried.

## Errors

| When | Code |
|---|---|
| More than 10 images, more than one video, a video with images, or `link` on a post with media or not an http(s) URL | `validation_failed` (when creating the post) |
| An image that is not JPEG, PNG or GIF or over 4 MB; a video that is not MP4/MOV | `media_invalid` (when creating the post) |
| Token revoked, password changed, or a permission removed | `auth_expired`, then `account.disconnected` |
| Meta's rate limits | `rate_limited` (retried) |
| Facebook refuses the post | `platform_rejected`, with Facebook's message in `platform_message` |
| Meta unavailable | `platform_down` (retried) |
