---
title: "Facebook upload Page photo API: POST /{page-id}/photos"
description: "When PubNio calls Facebook's upload Page photo request, POST /{page-id}/photos: the scopes it needs, the errors PubNio handles for it, and its pinned spec revision."
---

> Documentation Index
> Fetch the complete documentation index at: https://pubnio.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Facebook upload Page photo API: POST /{page-id}/photos

PubNio calls Facebook's `POST /{page-id}/photos` (`Page.photos`) to stage the photos of a Page post. Values checked 2026-12-05.

## How PubNio calls it

- Publishing: [`POST /api/v1/posts`](https://pubnio.com/api/v1/docs#tag/posts/POST/api/v1/posts) (unless it saves a draft), [`POST /api/v1/posts/{postId}/publish`](https://pubnio.com/api/v1/docs#tag/posts/POST/api/v1/posts/{postId}/publish), or [`POST /api/v1/posts/{postId}/targets/{targetId}/retry`](https://pubnio.com/api/v1/docs#tag/posts/POST/api/v1/posts/{postId}/targets/{targetId}/retry) starts the delivery.
- Each photo goes up with `published=false`, from a stored file or a URL, and its ID is kept for the feed post or photo story that follows.
- A stored file goes up as the multipart `source` part; a media link goes as `url`, and Meta fetches it.
- Each photo is staged in its own step, which checks the account again before the call. A photo that cannot be staged fails the delivery as `media_preparation_failed`.

| Value         | Official value            | Source                                                                                                    | Checked    |
| ------------- | ------------------------- | --------------------------------------------------------------------------------------------------------- | ---------- |
| Photo size    | 10                        | [Graph API reference: Page Photos](https://developers.facebook.com/docs/graph-api/reference/page/photos/) | 2026-12-05 |
| Photo formats | JPEG, BMP, PNG, GIF, TIFF | [Graph API reference: Page Photos](https://developers.facebook.com/docs/graph-api/reference/page/photos/) | 2026-12-05 |

## Scopes

- The pinned spec names no scope. See [Facebook scopes and permissions](https://pubnio.com/docs/providers/facebook/scopes/).
- Before a delivery makes this call, PubNio checks that the account granted `pages_manage_posts`, `pages_read_engagement`, and `pages_show_list`.

## Errors

Error pages that name this call, by what a publish write that returns the code does:

- Target fails: [10](https://pubnio.com/docs/errors/facebook/10/), [100](https://pubnio.com/docs/errors/facebook/100/), [190](https://pubnio.com/docs/errors/facebook/190/), [200](https://pubnio.com/docs/errors/facebook/200/)
- Target left unresolved: [368](https://pubnio.com/docs/errors/facebook/368/)
- Target retried later: [4](https://pubnio.com/docs/errors/facebook/4/), [17](https://pubnio.com/docs/errors/facebook/17/), [32](https://pubnio.com/docs/errors/facebook/32/), [613](https://pubnio.com/docs/errors/facebook/613/), [80001](https://pubnio.com/docs/errors/facebook/80001/)

## Spec and changes

`Page.photos` in the pinned spec, revision `5c1fa8a1653722b402133f033fcc321d67981bbd`.

Refreshed by hand: no weekly change record.

## Limits

- A staged photo is not visible on the Page; when the delivery stops before the feed post, PubNio leaves it unpublished.
- PubNio never posts part of a set: when the staged IDs do not cover every photo, the feed post is refused.

## Sources

- [Meta facebook-business-sdk-codegen API specs](https://github.com/facebook/facebook-business-sdk-codegen/tree/5c1fa8a1653722b402133f033fcc321d67981bbd)
- [Graph API reference: Page Photos](https://developers.facebook.com/docs/graph-api/reference/page/photos/), checked 2026-12-05

## Related

- [Provider API operations PubNio calls](https://pubnio.com/docs/providers/operations/)
- [Facebook rate limits and quota](https://pubnio.com/docs/providers/facebook/quota/)

Source: https://pubnio.com/docs/providers/facebook/operations/page-photos/index.mdx
