Repository navigation
feat: Facebook photo albums (v0.1.3) - #13
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the three album endpoints the API gained on 2026-10-15:
get_page_albums(profile_id, **kwargs)/facebook/pages/albumsget_page_id); optionallimit8-16,end_cursorget_group_albums(group_id, **kwargs)/facebook/groups/albumsget_group_id); optionallimit8-16get_album_items(album_id, **kwargs)/facebook/albums/itemsend_cursorThe 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,mypyandpytestall pass (38 tests, 3 new).After merge:
git tag v0.1.3 && git push origin v0.1.3publishes to PyPI (Trusted Publishing).Also fixed: group videos
get_group_videos(group)sentgroup_id, but/facebook/groups/videosrequireslink(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 sendslink. Positional calls keep working. A new test checks thatlinkis sent andgroup_idisn't.