Scrape public Facebook group posts at scale, or private if cookies are provided. Get post text, author, timestamp, comments count, and reactions. No login required for public groups.
Hard cap on the number of posts returned across every group combined. The actor stops once it hits this number.
Type:integer
Minimum:0
Maximum:5000
Default:100
Max posts per group
maxPostsPerGroup
Optional
Stop scraping a single group after this many posts. Combined with the total limit above — whichever is hit first wins.
Type:integer
Minimum:1
Maximum:50
Default:10
Posted after
postedAfter
Optional
Optional. Only return posts published on or after this date. Accepts ISO format (YYYY-MM-DD). Useful for monitoring a group over time without re-scraping old posts.
Type:string | null
Keyword filter
keyword
Optional
Optional. Only return posts whose text contains this string (case-insensitive). Useful for lead-gen, brand monitoring, or moderation use cases.
Type:string | null
Facebook cookies (for private/closed groups only)
cookies
Optional
ONLY needed for private or closed groups. Leave EMPTY for public groups.
The Facebook account you copy cookies from MUST already be a member of the target group — we cannot join groups on your behalf.
How to get them (Chrome/Edge/Brave):
Open facebook.com in your browser and log in to the account that is a member of the group.
Open the browser's developer tools: press F12 (or right-click anywhere → Inspect).
Go to the 'Application' tab (Chrome/Edge) or 'Storage' tab (Firefox).
Find the rows named: c_user, xs, datr, fr, sb. Copy each row's 'Value'.
Paste them here as one line, separated by '; ', like: c_user=12345; xs=abcd; datr=efgh; fr=ijkl; sb=mnop
Easier option: install a cookie-export browser extension (e.g. 'Cookie-Editor' or 'EditThisCookie'), open facebook.com, click the extension, choose 'Export as Header String', paste here.
These cookies give full access to your Facebook account. Treat them like a password. Apify stores this field as a secret.