Facebook Groups Scraper avatar

Facebook Groups Scraper

Pricing

from $0.67 / 1,000 posts

Go to Apify Store
Facebook Groups Scraper

Facebook Groups Scraper

Facebook groups scraper: export the posts from public Facebook groups. Each post gives the author, text, exact time, permalink, photos and videos, plus reaction, comment and share counts. Up to 50,000 posts and 50 groups per run, with a keyword filter. $0.70 per 1,000 posts.

Pricing

from $0.67 / 1,000 posts

Rating

5.0

(1)

Developer

Dami's Studio

Dami's Studio

Maintained by Community

Actor stats

0

Bookmarked

374

Total users

147

Monthly active users

4.4 hours

Issues response

a day ago

Last modified

Categories

Features

Limited permissions

Share

Facebook groups scraper for public group URLs, one row per post: the text, the author, the exact posting time, the permalink, the photos and videos, and the reaction, comment and share counts. No login, and no browser to wait on.

If a group shows no posts, it comes back as a free note in your dataset rather than a charge.

InputPublic Facebook group URLs
OutputOne row per post: text, author, posting time, permalink, photos and videos, reactions, comments, shares
Ceiling50,000 posts and 50 groups per run
Account neededNone
Apify planAny, the Free plan included
Price$0.70 per 1,000 posts on the free plan, down to $0.67 on Business. Full comment threads, if you ask for them, add $0.25 per 1,000 comments, down to $0.239 on Business
Using an AI agent?
Actordami_studio/facebook-groups-scraper
Set one fieldstartUrls, labelled "Facebook group URLs" in the Console
Cap the billmaxTotalChargeUsd on the run, for example 0.10: it never charges past that
MCP, one linkhttps://mcp.apify.com/?tools=fetch-actor-details,dami_studio/facebook-groups-scraper
How oftenDaily, with onlyNewPosts on so each run brings only new posts

🔍 What Facebook Groups Scraper does

Give it group URLs, an order and a number of posts. Each post becomes one row with everything the group page publishes about it.

The three orders are Facebook's own: New posts by posting time, Newest activity for threads commented on lately, and Most relevant, Facebook's ranking. For monitoring, use New posts.

There is a date window too: give onlyPostsNewerThan a date, 7 days or 2 hours, and older posts are dropped before they are written, uncharged.

Two switches help with groups you check often. keywords keeps only posts holding one of your words, and the rest are not charged. onlyNewPosts remembers the newest post each run handed over, so the next run gives you only what came after it.

Four paid filters suit busy property and buy-and-sell groups, where one ad turns up everywhere every day: skipDuplicatePosts keeps the first copy of an author's text, skipPostsWithoutText drops picture-only posts, and excludeKeywords and excludeAuthors drop the words and people you name.

📋 What data you get from each Facebook group post

What you getField
The post's id and permalinkid, url, legacyId
The texttext
The original post's text, when the post is a sharesharedPostText
When it was postedtime, timestamp
Who posted ituser (name, id, picture, profile link)
Reactions, comments and shareslikesCount, topReactionsCount, commentsCount, sharesCount
Reactions by type: like, love, haha and the restreactionsByType
Photos, videos and a shared linkattachments, attachmentsCount, photoCount, isVideo, link
Each picture's size and Facebook's own description of itwidth, height, accessibilityCaption inside attachments
The groupgroupId, groupTitle, facebookUrl
The URL you gaveinputUrl
The comments shown under the post (optional, no extra charge)topComments
Full comment threads (optional, paid add-on)separate rows with recordType: "comment"

▶️ How to scrape Facebook groups

  1. Open Facebook Groups Scraper and click Try for free.
  2. Paste group URLs into Facebook group URLs.
  3. Set Number of posts and pick a Sorting order.
  4. Add Posts newer than if you only want recent ones, then click Start.
  5. Download the dataset as JSON, CSV or Excel, or read it from the Apify API.

With no usable group URL you get one free, labelled sample row.

💰 How much does it cost to scrape Facebook groups?

$0.70 per 1,000 posts. That is the free plan's price; paid plans pay a little less: $0.69 on Starter, $0.68 on Scale and $0.67 on Business.

One charge per post row. Posts your date window or words leave out, sample rows and diagnostic rows are not charged, and top comments with each post cost nothing extra.

Full comment threads are an add-on: $0.25 per 1,000 comments on the free plan, $0.246 on Starter, $0.243 on Scale and $0.239 on Business. You pay for each comment row, replies included when you ask for them, on top of the post. A post with no comments adds nothing.

Posts the paid filters leave out are free until their price starts, then $0.19 per 1,000 on every plan, while a delivered post keeps its price. Until then, a run whose filters drop most of what it reads can stop early, with a free STOPPED_EARLY row. A post your date window or onlyNewPosts drop first is never charged; one your words drop costs $0.19 per 1,000 with keywordsKeepReading on, from 2 December 2026.

Calls to this actor through Apify's Server Actors interface also pay the Request event, once per answered call. Runs from the input form, the API, MCP or the skill file never pay it.

📥 What you give it

{
"startUrls": [{ "url": "https://www.facebook.com/groups/dogspotting/" }],
"resultsLimit": 50,
"viewOption": "CHRONOLOGICAL",
"onlyPostsNewerThan": "7 days"
}
FieldDefaultWhat it is
startUrlsnone, the form starts with an exampleUp to 50 public group URLs. Any past the fiftieth are left unread and listed in one free BAD_INPUT row.
resultsLimitempty, runs as 20Posts across the whole run, up to 50,000. Five groups at resultsLimit: 100 is a hundred posts in total, not five hundred. Thousands of posts take a while, so give a big run a longer timeout.
maxPostsPerGroupnoneThe most posts from any one group. Set it and leave resultsLimit empty, and the run asks for that many from every group.
viewOptionempty, runs as CHRONOLOGICALCHRONOLOGICAL for new posts, RECENT_ACTIVITY for recently commented threads, TOP_POSTS for Facebook's ranking.
keywordsnoneWords or phrases. Only posts holding at least one of them, in the text, the shared post's text or a link preview, are delivered and charged. Case does not matter.
onlyNewPostsfalseEach run remembers the newest post it handed over per group, in a store called facebook-groups-scraper-new-posts on your own Apify account, and the next run skips everything up to it. Delete that store to start over.
skipDuplicatePostsfalsePaid filter. Leaves out a post when the same author already posted the same text, in this run or in your runs of the last 30 days. The first copy is delivered. Case, spaces, punctuation and emojis are ignored, and a post with no text is never a repeat. Remembered in a store called facebook-groups-scraper-repeats on your own account.
skipPostsWithoutTextfalsePaid filter. Leaves out a post with no text of its own and no shared text: a picture or a video on its own.
excludeKeywordsnonePaid filter. Words or phrases; a post holding any of them as whole words is left out. rent leaves out "Flat for RENT" and keeps "parent".
excludeAuthorsnonePaid filter. Profile links, numeric profile ids, or names exactly as Facebook shows them. Their posts are left out.
onlyPostsNewerThannone2026-01-01, a full ISO timestamp, or a span such as 7 days, 2 hours or 30 minutes. Older posts are skipped and never charged.
onlyPostsOlderThannoneThe same formats, the other way round. Use both for a window.
allPhotosfalseTurn it on to get up to 24 photos of each post instead of the first 5. The price per post stays the same, but the run takes longer, a few seconds more for each post with more than 5 photos, so give big runs a longer timeout.
includeTopCommentsfalseAdds topComments to each post: the one or two comments Facebook already shows under it. No extra charge.
maxCommentsPerPostnoneFull comment threads: up to this many comments from each post that has some, as their own rows, charged per comment.
includeCommentRepliesfalseWith maxCommentsPerPost set, the replies under each comment too. They count toward that number.
proxyUrlsnoneLeave it empty. It is here for callers who want the traffic to leave through servers they already pay for, as http://user:pass@host:port. There is no bandwidth surcharge on this actor either way.
deepScanfalseNewest first, a group ends after 6 posts in a row that are older than your dates or that your last run already had. Turn this on and those posts are skipped while the reading goes on, so a newer post further down still comes back. With onlyNewPosts on, the store also keeps the id of every post your runs delivered, so none is delivered or charged twice, and a post no run reached is delivered while it is inside your dates. Posts cost the same; the run reads more, so it takes a little longer. The run's log has one line per group: pages read, posts skipped and why it stopped.
deepScanStopAfterempty, runs as 20With deepScan on, how many posts in a row older than onlyPostsNewerThan end a group, from 6 to 300. Posts newer than onlyPostsOlderThan and posts already delivered never count, so a run reads on past days you already collected. With no start date, posts already delivered count instead.
deepScanMaxPagesnoneWith deepScan on, the most feed pages read from each group, the first included. The first page holds up to 29 posts and each one after it 3.
keywordsKeepReadingfalseWith keywords set, a run stops early with a free FILTER_TOO_RARE row once too few of the posts it reads hold your words. Turn this on to read such groups anyway: each post your words leave out is charged as a filtered post, $0.19 per 1,000, and a delivered post keeps its price. From 2 December 2026, when that price starts; until then it changes nothing.

📤 What you get back

Real run output

A real row from a run on 21 September 2026. The image links are signed and very long, so they are cut short here:

{
"ok": true,
"recordType": "post",
"charged": true,
"facebookUrl": "https://www.facebook.com/groups/dogspotting/",
"url": "https://www.facebook.com/groups/dogspotting/permalink/10166203291439467/",
"id": "10166203291439467",
"legacyId": null,
"time": "2026-09-20T23:30:52.000Z",
"timestamp": 1789947052,
"text": "His name is Invader and he invaded my heart",
"user": {
"id": "pfbid02UQC3terETmAmd24Hgg4ev1Pxye5Bh6SQ9HCYF58dVPrULg7E3tumNTv4Hs2Aoz4tl",
"profileUrl": null,
"profilePic": "https://scontent-lga3-3.xx.fbcdn.net/v/t39.30808-1/560561781_10164128278012578_..."
},
"likesCount": 147,
"commentsCount": 0,
"sharesCount": 0,
"topReactionsCount": [86, 60, 1],
"attachments": [
{
"type": "photo",
"thumbnail": "https://scontent-lga3-3.xx.fbcdn.net/v/t39.30808-6/791453646_10165826125182578_...",
"url": "https://www.facebook.com/photo/?fbid=10165826125842578&set=gm.10166203291439467&idorvanity=10487409466",
"id": "10165826125842578"
}
],
"attachmentsCount": 1,
"isVideo": false,
"link": null,
"groupId": "10487409466",
"groupTitle": "Dogspotting",
"inputUrl": "https://www.facebook.com/groups/dogspotting/",
"scrapedAt": "2026-09-21T01:45:39.314Z"
}
FieldHow to read it
id, urlThe post id and its permalink. id is your dedupe key across runs.
time, timestampThe real posting time, as ISO and as a unix number. Not "2 hours ago".
likesCountEvery reaction added together, not only thumbs-up. In the row above, 147 is the 86, 60 and 1 in topReactionsCount summed.
topReactionsCountThe counts behind the reaction types on the post, as numbers with no labels. reactionsByType gives the same counts by name, for example {"like": 86, "love": 60, "haha": 1}, and adds up to likesCount. null when the post has no reaction.
width, height, accessibilityCaptionIn an attachments entry: the size of the picture the thumbnail link opens, and Facebook's own description of it, such as "May be an image of a dog". The caption is null when Facebook has none, and photos added by allPhotos have no caption.
topCommentsWith includeTopComments on: the comments Facebook shows under the post, each with text, profileName, date, likesCount, repliesCount and commentUrl.
userName and picture. profileUrl is often null and the id is the long pfbid form.
attachmentsOne entry per photo or video, with a thumbnail and, on videos, the video link. Every media link is signed and stops working after a while, so download what you want to keep in the same session.
photoCountHow many photos the post has in total, the number behind the "+N" on the last photo. attachments holds the first 5 of an album's photos, or up to 24 with allPhotos on, so a post with 31 photos gives 5 links (24 with allPhotos) and photoCount: 31. A video in the same set counts as one. null when the post has no photo.
sharedPostTextOn a share, text is only what the person sharing typed above it, and often empty. This is the shared post's own text, in full. null when the post is not a share or the shared post has no text.
legacyIdFacebook's older numeric id when the page carries one, null otherwise.
FILTER_REPORTA record in the run's key-value store, not a row, written when a paid filter is on: the posts each filter left out, group by group, and in postsWithCopies each delivered post whose copies were left out, with copiesLeftOut and the other groups they were in. Posts left out never reach the dataset.

🧾 Reading the output

Four kinds of row, and only posts and comments cost anything.

RowHow to spot itCharged
A postrecordType: "post"yes
A comment, with full threads onrecordType: "comment", with the post's link in facebookUrl and its id in postIdyes, as a Comment
The sample row_sample: true, on a run with no usable inputno
A diagnostic_uncharged: true, and it carries a codeno

The charged field is a row marker, not a receipt. It is what separates a real post from a sample or a diagnostic, and it is stamped as the row is built rather than after the money moves. Your Apify run detail is the authority on what you were actually billed. Diagnostic rows carry code, not errorCode:

CodeWhat it means
FREE_PLANRare. The first row of a run on the Apify Free plan that may end with RATE_LIMITED and no posts. Try again later.
BAD_INPUTNot a Facebook group URL, or more than 50 groups in one run: that row lists the ones left out.
NO_PUBLIC_POSTSThe group showed no posts to the run. A handle that no longer exists lands here too.
NO_RESULTSThe feed answered and had nothing matching your date window or your words, or nothing new since your last run.
FILTER_TOO_RAREYour words matched too few of the posts read to keep reading. What matched is delivered. keywordsKeepReading reads on instead.
TIME_LIMITThe run stopped just before its time limit. What was delivered stays, and the run still ends as succeeded, with an amber status message.
COMMENTS_OFFRare. Full comment threads were not available on this run, so no comments were read or charged. Your posts are not affected. Try again later.
MEMORY_ERRORWith onlyNewPosts or skipDuplicatePosts on, the record of your earlier runs could not be opened, so nothing was read.
NOT_FOUNDThat group is gone.
RATE_LIMITEDFacebook throttled the reads. Any groups still queued are skipped.
NOT_SERVEDThis group was not served this run. Re-run it later.
STOPPED_EARLYThe run stopped before your limit: the feed stopped giving out posts and still did when the run asked again, or further down it held very few posts that fit your settings. You keep everything collected up to that point.
SCHEMA_DRIFTThe feed came back in a shape this could not read. Worth sending in.
TARGET_ERROR, NETWORKFacebook errored, or the request did not complete. Re-run it.
CHARGE_ERRORRare. A charge could not be recorded before any post came back, so the run stopped there. Nothing was charged. Run it again.

💡 What people use it for

  • Watching buy-and-sell and local groups for a word: schedule it daily with onlyNewPosts on and send new posts to Slack, Make, Zapier or n8n.
  • Collecting questions people ask in a niche group, to write content that answers them.
  • Tracking how a community reacts to an announcement, by post text and reaction counts.
  • Keeping an archive of a group you run, outside Facebook, with permalinks that still work.
  • Collecting listings from dozens of property groups that repost the same ads, with skipDuplicatePosts keeping one copy of each.

From a group's feed to the threads people argued in, in three steps:

  1. Run this on a group with viewOption set to RECENT_ACTIVITY.
  2. Sort on commentsCount and copy the url of the busiest posts.
  3. Paste them into Facebook Comments Scraper, which reads group-post links, and read the comments themselves.

🚧 What it does not do

  • No member lists, no admin lists, no group rules.
  • No search inside a group. The word filter checks the posts the run reads; it does not ask Facebook to search. A word that turns up rarely can stop the run early with a free FILTER_TOO_RARE row.
  • No sale listing fields such as price or sold status. Sale posts come back as ordinary posts, with the price wherever the seller typed it in the text.
  • No photo or video files, only links, and those links expire.
  • 50 groups per run at most. Any beyond that are left unread and listed in one free BAD_INPUT row.
  • It won't read a whole group for a handful of posts. With top posts or recent activity and a date window, or onlyPostsOlderThan far back, a run stops once the posts further down mostly miss your settings, with a free STOPPED_EARLY row. Newest first, Posts newer than still returns every post in the window.
  • onlyNewPosts does not go back on its own. Older posts a run did not hand over are not picked up later, so set resultsLimit to cover what a group posts between runs, or turn on deepScan.
  • It is not an official Facebook tool. Dami's Studio is independent and is not affiliated with or endorsed by Facebook or Meta, or by any other company named on this page.

🧭 Which Facebook scraper do you need?

If you wantUse
Posts from public groupsThis one
Posts from a Facebook PageFacebook Posts Scraper
Comments under a post or reel, group posts includedFacebook Comments Scraper
Reels from a PageFacebook Reels Scraper
A Page's website, e-mail, phone and addressFacebook Page Contact Info Scraper

❓ Questions people ask

Do I need a Facebook account to scrape groups?

No. Public groups are read without one.

Why did I get fewer posts than I asked for?

Either the group has fewer public posts or your date window excluded the rest. A STOPPED_EARLY or NO_RESULTS row tells you which. If you get NO_PUBLIC_POSTS, open the group in a private browser window.

Can I call it from code or connect it to an AI assistant?

The API tab has code for Python, JavaScript and the CLI. MCP clients like Claude and ChatGPT use https://mcp.apify.com/?tools=fetch-actor-details,dami_studio/facebook-groups-scraper; coding assistants can load our skill file. All three bill your Apify account at the same price.

# pip install apify-client
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("dami_studio/facebook-groups-scraper").call(
run_input={
"startUrls": [{"url": "https://www.facebook.com/groups/dogspotting/"}],
"resultsLimit": 50,
},
max_total_charge_usd=0.10, # the most this run may spend
)
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
if row.get("ok") is False: # free note rows, not results
continue
print(row.get("time"), (row.get("text") or "")[:80])

These are pages anyone can read without an account. Posts contain personal data, which GDPR and similar laws cover, so have a lawful reason for collecting them. Apify's write-up on scraping and the law is a reasonable starting point, and we are not lawyers.

🆘 If something breaks

Open the Issues tab on the actor page. Send the run ID and the group URL. The code on the diagnostic row usually says what happened on its own.