AS
Apify Store
/apify/facebook-groups-scraper
Facebook Groups Scraper
Extract data from one or multiple public Facebook groups. Get group and post URLs, post text, comments, timestamp, likes and comments count, and basic commentator info. Download the data in JSON, CSV,
liveverifiedasyncdegraded · 62.9s~30s typical
social mediafacebookgroups
$0.0063
per result + $0.005 call
plus $0.001 platform fee per run
Actor charges $0.005 per result; Cracked adds 25% plus a $0.005 call fee
Bring your own Apify Store key: provider portion drops to $0.
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run apify /apify/facebook-groups-scraper for me.
Input
| Field | Type | Description |
|---|---|---|
| startUrls* | array | Insert a URL of a valid Facebook group. Only <strong>public</strong> Facebook groups can be scraped. |
| resultsLimit | integer | Select the number of posts you want to scrape. If this limit is not set, as many results as possible will be returned. |
| viewOption | string (CHRONOLOGICAL | RECENT_ACTIVITY | TOP_POSTS | CHRONOLOGICAL_LISTINGS) | Select sorting order by which the posts should be scraped. Please note that the <strong>Number of results</strong> field will be applied to New posts only. The BuySell items sorting will return results for BuySell groups only. default "CHRONOLOGICAL" |
| searchGroupKeyword | string | Without logging in, search results are VERY limited, so searching by word will return nothing in most cases. To get more messages, it is recommended to use a one or two letter search and change the year. |
| searchGroupYear | string | The scraper will extract Facebook posts by this year. To use this field, you need to fill in the <strong>Search by letter</strong> field above ↑. |
| onlyPostsNewerThan | string | Scrapes post from the provided date to the present day. The date should be in YYYY-MM-DD or full ISO absolute format or in relative format e.g. 1 days, 2 months, 3 years. The JSON input also supports adding time units (UTC timezone): Full or partial ISO timestamp (e.g., `2025-09-23T10:02:01`) as absolute time and relative time, e.g., `1 hour` or `2 minutes`. |
Call it
curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
-H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
-d '{"provider":"apify","endpoint":"/apify/facebook-groups-scraper","input":{"startUrls":[{"url":"https://www.facebook.com/groups/874728723021553"}],"resultsLimit":3,"viewOption":"CHRONOLOGICAL","searchGroupKeyword":"a","searchGroupYear":"2024","onlyPostsNewerThan":"2024-01-01"},"wait":false}'poll
curl "https://cracked-ai-pearl.vercel.app/v1/runs/<runId>?wait=30" -H "Authorization: Bearer ck_live_..."cli
npx cracked-ai run -p apify -e /apify/facebook-groups-scraper -i '{"startUrls":[{"url":"https://www.facebook.com/groups/874728723021553"}],"resultsLimit":3,"viewOption":"CHRONOLOGICAL","searchGroupKeyword":"a","searchGroupYear":"2024","onlyPostsNewerThan":"2024-01-01"}' -w 120mcp
run_tool({ provider: "apify", endpoint: "/apify/facebook-groups-scraper", input: {"startUrls":[{"url":"https://www.facebook.com/groups/874728723021553"}],"resultsLimit":3,"viewOption":"CHRONOLOGICAL","searchGroupKeyword":"a","searchGroupYear":"2024","onlyPostsNewerThan":"2024-01-01"}, wait: false })Try it
Runs against your signed-in workspace balance. Sign in if you have not.