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(unless it saves a draft),POST /api/v1/posts/{postId}/publish, orPOST /api/v1/posts/{postId}/targets/{targetId}/retrystarts 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
sourcepart; a media link goes asurl, 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 | 2026-12-05 |
| Photo formats | JPEG, BMP, PNG, GIF, TIFF | Graph API reference: Page Photos | 2026-12-05 |
Scopes
- The pinned spec names no scope. See Facebook scopes and permissions.
- Before a delivery makes this call, PubNio checks that the account granted
pages_manage_posts,pages_read_engagement, andpages_show_list.
Errors
Error pages that name this call, by what a publish write that returns the code does:
- Target fails: 10, 100, 190, 200
- Target left unresolved: 368
- Target retried later: 4, 17, 32, 613, 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
- Graph API reference: Page Photos, checked 2026-12-05