Repository navigation
feat: ship the facebook-scraper-api package (v0.1.0) - #7
Merged
Merged
Conversation
facebook-scraper style functions (get_page_info, get_posts(account, pages=...), get_group_info, get_comments, search) and a command-line tool, built on socialapis-sdk. Listings follow end_cursor with a hard page ceiling; CSV export flattens nested fields.
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.
Makes this repo the source of a new PyPI package,
facebook-scraper-api(name free on PyPI as of today).What it is
socialapis-sdk:get_page_info,get_posts(account, pages=…, limit=…),get_group_posts,get_group_info,get_reels,get_videos,get_post,get_comments,search_posts,search_pages, plus aFacebookScraperAPIclass with the same methods.end_cursor;pagesis a hard ceiling on calls (credits), and they stop early whenhas_next_pageis false or a cursor repeats.meta/messageenvelope (the rule the Sheets add-on uses on live answers), so no per-endpoint field path is guessed.facebook-scraper-apicommand:page,group,posts,group-posts,reels,videos,comments,search-posts,search-pages, CSV (nested fields flattened) or JSON lines.PACKAGE.mdis the PyPI page. The rest of the README (migration withsocialapis-sdk) is unchanged, so it doesn't conflict with readme: free live follower badge #6.vX.Y.Z→ PyPI via trusted publishing.Checked
pytest: 7 passed;ruff check/ruff format --checkclean;python -m buildbuilds the wheel with the right files.Publish (after merging)
facebook-scraper-api, ownerSocialAPIsHub, repositoryfacebook-scraper-python, workflowrelease.yml, environmentpypi.cd facebook-scraper-python git checkout main git pull git tag v0.1.0 git push origin v0.1.0