Skip to content

feat: Facebook photo albums (v0.1.3) - #13

Merged
OussemaFr merged 2 commits into
mainfrom
feat/facebook-albums
Oct 16, 2026
Merged

OussemaFr merged 2 commits into
mainfrom
feat/facebook-albums

Conversation

@OussemaFr

@OussemaFr OussemaFr commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

Adds the three album endpoints the API gained on 2026-10-15:

Method (sync + async) Endpoint Required
get_page_albums(profile_id, **kwargs) /facebook/pages/albums numeric page ID (get_page_id); optional limit 8-16, end_cursor
get_group_albums(group_id, **kwargs) /facebook/groups/albums numeric group ID (get_group_id); optional limit 8-16
get_album_items(album_id, **kwargs) /facebook/albums/items album ID from either albums call; optional end_cursor

The SDK now covers all 53 endpoints. Includes the README and CHANGELOG updates and bumps the version to 0.1.3.

Local checks: ruff check, ruff format --check, mypy and pytest all pass (38 tests, 3 new).

After merge: git tag v0.1.3 && git push origin v0.1.3 publishes to PyPI (Trusted Publishing).

Also fixed: group videos

get_group_videos(group) sent group_id, but /facebook/groups/videos requires link (in the API's endpoint config, the MCP server and the n8n node), so it most likely failed on every call. It now takes the group URL, slug or numeric ID and sends link. Positional calls keep working. A new test checks that link is sent and group_id isn't.

get_page_albums(profile_id), get_group_albums(group_id) and
get_album_items(album_id), sync and async, backed by the three new
album endpoints. The SDK now covers all 53 endpoints.
@OussemaFr
OussemaFr merged commit 45291aa into main Oct 16, 2026
6 checks passed
@OussemaFr
OussemaFr deleted the feat/facebook-albums branch October 16, 2026 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant