How to use it: 3 steps
- Make a free Apify accountApify is the cloud platform where our tools run. The free plan gives you $5 of usage every month, no credit card needed. You pay Apify, not us.
- Paste your input and press StartNo code needed: you fill in a form (the input). It already has a working example. For example:
https://www.facebook.com/groups/javascript.developersin Public group links. Each start is one run. - Download the resultsWhen the run ends, the results are in a table (the dataset). Open Output, press Export and pick Excel or CSV. JSON and the API are there too.
This tool is an Apify Actor: a small program that runs on Apify. You can also run it on a schedule, for example every Monday. New to it? Read how it works, step by step and the 8 words you need first.
What it does
Facebook Public Groups Posts Scraper collects posts from public Facebook groups without a Facebook login and returns one row per post: text, date, reactions (also by type: like, love, haha…), comments and shares counts, photos, videos and links, and the post link.
Good for
- Read the last week of posts in groups about your niche and see which topics get the most reactions and comments.
- Export a group's recent posts to a spreadsheet for content or market research.
- Check several groups at once and find which ones are active, which are private and which no longer exist.
- Watch a list of groups on a schedule and get only the new posts each time.
Who uses it
Market researchers
See what people discuss in groups about your topic.
Content teams
Find which posts get the most reactions and comments.
Community watchers
Check many groups at once and get only new posts each week.
Price
Pay per event: you pay for each result the tool saves, plus a small start fee for each run. The price includes Apify platform costs. Apify bills you, not us. Prices below are for the Apify free plan.
| What you pay for | Price | When |
|---|---|---|
| Start fee | $0.002 | Charged once per run. This tool uses 1 GB of memory or less by default; more memory costs more. |
| Group | $0.004 | One group link Facebook answered for: public, private or not found. Charged once per group, also when it gives no posts. |
| Post | $0.0024 (from $0.00168 on paid Apify plans) | One public group post saved to the dataset. |
Examples
- One post: about $0.0044.
- 1,000 posts: about $2.40.
- Every day 100 posts, for 30 days: about $7.26 a month.
Free to try: the Apify free plan gives you $5 of usage every month, no credit card needed. That is enough for about 2,000 posts.
Prices checked on 27 November 2026. See the current price on Apify.
Questions
Do I need a Facebook account?
No. The Actor reads public groups as a logged-out visitor. Do not give it your cookies.
Can it read private groups?
No. Private groups need a member login. They are listed in the run summary.
Does it return authors or members?
No. Author, member and commenter data is not saved. Tagged names in text are hidden.
Can I get the names of post authors or members?
No. Author, member and commenter data is never saved, and tagged people in text are replaced with [person].
Why is commentsCount higher than the number of topComments?
commentsCount is Facebook's total. Guests see only a few top comments, and those are what topComments holds.
How do I get only new posts every week?
Turn on onlyNewPosts and run the Actor on an Apify schedule. Each run returns only posts newer than the newest one saved last time; use a different stateKey for each list of groups. Without monitoring, dateFrom: "7 days" on a weekly schedule also works, but posts near the edge can come twice.
Can I paste the input of another Facebook groups scraper?
Yes. startUrls, resultsLimit, onlyPostsNewerThan and onlyNew are accepted as they are. A sorting order other than newest first and search inside a group are not supported (see Limits); the run log names such fields.
Details
Step by step on Apify
- Open the Input tab. Public group links is prefilled with one group (box 1). Paste your own group links, one per line.
- Keep Max posts per group =
20(box 2). - Leave Only posts newer than empty, or type
7 daysto get only last week's posts (box 3). - Click Start.
- Open the Output tab. Switch between Posts, Posts with top comments and Invalid links with the view tabs (box 1) and check the reactions, comments and shares counts of each post (box 2).
Use cases
| Task | Input | You get | Key fields | Next step |
|---|---|---|---|---|
| Export a group's recent posts | groupUrls, maxPosts | Post | text, createdAt, url, media | CSV or Excel export |
| Find the most discussed topics | groupUrls, dateFrom: "30 days" | Post | reactionsCount, commentsCount, sharesCount, text | Spreadsheet sorted by counts |
| Weekly digest of several groups | groupUrls, dateFrom: "7 days" + Apify schedule | Post | groupName, text, url | Slack or Notion via deliveryConnector |
| Read what people answer under posts | includeComments, maxComments | Post with top comments | topComments[].text, topComments[].reactionsCount | Database or AI summary |
| Monitor groups for new posts | groupUrls, onlyNewPosts + Apify schedule | Post | createdAt, text, reactionsByType | Webhook to your tool |
| Check which groups are public and active | many groupUrls, small maxPosts | Group status | RUN_SUMMARY.groups[].status, posts | API |
Tips for better results
- Start with one group and 20 posts. It costs about $0.05.
- Use dateFrom, for example 7 days, to get only recent posts.
- Turn on onlyNewPosts and run on a schedule. Set maxPosts above the posts a group gets between runs.
Limits and good to know
- Public groups only. The Actor never logs in, so private groups, member lists and anything Facebook shows only to members are not available. Private groups are named in
RUN_SUMMARYwith statusnot_public_or_unavailable - No personal data: no author names or profiles, no commenter names; tagged people, emails and phone numbers in text are hidden. A name typed as plain text (not a tag) stays in the text as written
- Up to 100 groups per run and 5000 posts per group. Tested up to 2000 posts in one run (10 groups × 200, about 11 minutes); for more, use several runs
- The default run timeout is 5 minutes, enough for about 500 posts. For more, raise the timeout in the run options. When time runs out, saved rows are kept and the run reports
PARTIALwithDEADLINE(with no saved posts, the run is marked Failed) - Facebook decides what a guest sees. A pinned or featured older post can appear first, and now and then a post visible to members is missing from the guest feed
- Guests usually see only 1–2 top comments per post, so
topCommentsis a sample, not every comment.commentsCountis Facebook's total - Posts always come newest first. For guests, Facebook gives top posts in the same order, and other orders (recent activity) mix in old posts, which breaks
dateFromandonlyNewPosts. Search inside a group needs a login. For top posts, sort the dataset byreactionsCountorcommentsCount - Facebook photo links expire after some days; download photos you want to keep
Troubleshooting
| Line starts with | When | What to do |
|---|---|---|
✅ N posts saved | Every group was read as planned | Open the Output tab |
⚠️ N posts saved, stopped at your cost limit | The maximum cost per run was reached; the run succeeds and keeps its rows | Raise the maximum cost per run |
⚠️ N posts saved, stopped at the run timeout | The run timeout ended the run; rows are kept | Raise the timeout or read fewer posts |
⚠️ N posts saved, stopped at Max items | The run's Max items limit was reached | Raise Max items |
⚠️ N posts saved, K of M links not read | Some groups were private or missing, or some links were not group links | Check the links; the run report lists them |
⚠️ Run aborted | You stopped the run; saved rows are kept | Start again if you need more |
ℹ️ 0 posts: … | Nothing to save: no posts in your date range, no new posts since the last run, or the groups show guests no posts. The run succeeds | Widen the date range or try other groups |
❌ No posts saved: … or ❌ N posts saved, but K group failed: … | No public group was read, Facebook stopped a group, or the run timeout ended the run before any post was saved; the run is marked Failed. The line names the reason in plain words and links to the Issues tab and the run | Run again later or report it; for the timeout, raise the timeout |
For developers
Sample result
One result from a real test run, in JSON. Real values change from run to run. In Excel or CSV each field is a column.
{
"postId": "2945112602519121",
"groupId": "387875758242831",
"groupName": "Self-Taught Programmers",
"groupUrl": "https://www.facebook.com/groups/selftaughtprogrammers/",
"text": "If you are interested in AI, join a community of 10,000+ people who are thinking about technology, AI, and the future: …",
"createdAt": "2026-11-13T20:22:02.000Z",
"reactionsCount": 34,
"reactionsByType": { "like": 30, "haha": 4 },
"commentsCount": 3,
"sharesCount": 0,
"media": [{ "type": "photo", "url": "https://scontent…fbcdn.net/…jpg", "thumbnailUrl": null }],
"url": "https://www.facebook.com/groups/selftaughtprogrammers/posts/2945112602519121/",
"source": "facebook.com public group (logged-out view)",
"fetchedAt": "2026-11-21T10:06:34.973Z"
}Use it from code
Actor ID: cliqtomedia/facebook-groups-scraper. You need your Apify API token from Apify Console → Settings → API & Integrations.
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("cliqtomedia/facebook-groups-scraper").call(run_input={
"groupUrls": [
"https://www.facebook.com/groups/javascript.developers"
],
"maxPosts": 20
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)curl -X POST "https://api.apify.com/v2/acts/cliqtomedia~facebook-groups-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"groupUrls": ["https://www.facebook.com/groups/javascript.developers"], "maxPosts": 20}'# pip install langchain-apify
# set APIFY_TOKEN in your environment
from langchain_apify import ApifyActorsTool
tool = ApifyActorsTool("cliqtomedia/facebook-groups-scraper")
result = tool.invoke({"run_input": {"groupUrls": ["https://www.facebook.com/groups/javascript.developers"], "maxPosts": 20}})
print(result)The cURL call waits for the results, up to 300 seconds. For longer runs, start a run (/runs) and get the results with a webhook or by checking the run. Apify API docs. LlamaIndex, MCP for AI agents and the JavaScript client: AI agents & MCP.
Data fields (18)
| Field | Type | Meaning |
|---|---|---|
postId | string | Facebook post id. |
groupId | string | Numeric id of the group. |
groupName | string | Group name as Facebook shows it. |
groupUrl | string | Group link the post was read from. |
text | string | Post text. Tagged people, e-mail addresses and phone numbers are replaced with [person], [email hidden], [phone hidden]. null when the post has no text. |
createdAt | string | When the post was published (ISO 8601, UTC). |
reactionsCount | integer | All reactions (like, love, haha…). null when hidden; 0 is a real zero. |
reactionsByType | object | Reactions by type, for example {"like": 40, "love": 2}. Only types Facebook shows, lowercase. |
commentsCount | integer | Comments, as Facebook counts them. |
sharesCount | integer | Shares. |
media | array | Photos, videos and links attached to the post: {type: photo|video|link, url, thumbnailUrl}. |
url | string | Public post link. |
topComments | array | Top comments guests see (only with Include top comments): {commentId, text, createdAt, reactionsCount, repliesCount, url}. Commenters are never included. |
source | string | Where the data comes from. |
fetchedAt | string | When the post was read (ISO 8601). |
status | string | Only on free rows for links that are not group links: invalid_input. |
input | string | Only on invalid_input rows: the link as given. |
error | string | Only on invalid_input rows: what is wrong and an example. |
Input settings (10)
The main fields of the input form. With the API you send them as JSON.
| Setting | Name in the API | Type | Example value |
|---|---|---|---|
| Public group links | groupUrls | array | ["https://www.facebook.com/groups/javascript.developers"] |
| Max posts per group | maxPosts | integer | 20 |
| Only posts newer than | dateFrom | string | |
| Only new posts since the last run | onlyNewPosts | boolean | false |
| Monitoring name | stateKey | string | "default" |
| Include top comments | includeComments | boolean | false |
| Max top comments per post | maxComments | integer | 3 |
| Send results to (optional) | deliveryConnector | string | |
| Notion page or channel (optional) | deliveryTarget | string | |
| Proxy | proxyConfiguration | object | {"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]} |
Use cases with this tool
Each guide shows all the steps and the other tools.