{"id":13680144,"url":"https://github.com/LorenzoMonti/facebook_page_group_comments","last_synced_at":"2025-04-29T23:30:46.215Z","repository":{"id":131359595,"uuid":"135149021","full_name":"LorenzoMonti/facebook_page_group_comments","owner":"LorenzoMonti","description":"Facebook Page and Group's Post Scraper is a script for gathering data using Facebook's Graph API","archived":false,"fork":false,"pushed_at":"2020-06-22T19:30:18.000Z","size":7,"stargazers_count":47,"open_issues_count":2,"forks_count":15,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-11T23:37:16.024Z","etag":null,"topics":["facebook-graph-api","facebook-page","facebook-scraper","json","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LorenzoMonti.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-05-28T10:59:18.000Z","updated_at":"2024-07-28T07:10:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"f90f63f5-6eca-46c9-ae22-7ac599dfc6bc","html_url":"https://github.com/LorenzoMonti/facebook_page_group_comments","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LorenzoMonti%2Ffacebook_page_group_comments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LorenzoMonti%2Ffacebook_page_group_comments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LorenzoMonti%2Ffacebook_page_group_comments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LorenzoMonti%2Ffacebook_page_group_comments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LorenzoMonti","download_url":"https://codeload.github.com/LorenzoMonti/facebook_page_group_comments/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251599756,"owners_count":21615574,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["facebook-graph-api","facebook-page","facebook-scraper","json","python3"],"created_at":"2024-08-02T13:01:13.508Z","updated_at":"2025-04-29T23:30:45.664Z","avatar_url":"https://github.com/LorenzoMonti.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Facebook Page and Group's Post Scraper\n\nThis is a simple script to gather all comments of a Facebook Page or Group.\nThe script  outputs the posts in Json file format.\n\n\n## Initial setup\n\n1. Access to https://developers.facebook.com/ and create a new App.\n2. Make sure to have the following permissions active: publish_to_groups, pages_read_user_content, pages_manage_engagement, pages_manage_posts, Page Public Content Access Feature.\n3. Create a folder named *posts* on the root directory of the repository.\n4. Add *app_id* and *app_secret* in *scrape_post_and_comment.py* script.\n5. Add *page_id*, you can find this in the section of the url in page or group searched  (https://www.facebook.com/!!THIS PART!!/).\n6. Lauch script and have fun! :) .\n\n## Usage\n\nOnce data are scraped, you can find Json files in */posts/* folder.\n\n## Test\nYou can test every API here: https://developers.facebook.com/tools/explorer/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLorenzoMonti%2Ffacebook_page_group_comments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLorenzoMonti%2Ffacebook_page_group_comments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLorenzoMonti%2Ffacebook_page_group_comments/lists"}