---
title: "Facebook add photo to album API: POST /{album-id}/photos"
description: "When PubNio calls Facebook's add photo to album request, POST /{album-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 add photo to album API: POST /{album-id}/photos

PubNio calls Facebook's `POST /{album-id}/photos` (`Album.photos`) to add a published photo to a Page album.

## 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.
- Before writing, PubNio reads the album's `id` and `from` and refuses the post unless the album belongs to the target Page.
- The photo goes up with `published=true` and the text as `caption`. A bare numeric `post_id` is stored as Page ID, underscore, post ID.

## 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

No error page names this call; see [Facebook error codes](https://pubnio.com/docs/errors/facebook/).

## Spec and changes

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

Refreshed by hand: no weekly change record.

## Limits

- PubNio does not create albums; an album post needs an existing `albumId`.

## Sources

- [Meta facebook-business-sdk-codegen API specs](https://github.com/facebook/facebook-business-sdk-codegen/tree/5c1fa8a1653722b402133f033fcc321d67981bbd)

## 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/album-photos/index.mdx
