Facebook Group Posts Scraper avatar

Facebook Group Posts Scraper

Pricing

from $5.00 / 1,000 results

Go to Apify Store
Facebook Group Posts Scraper

Facebook Group Posts Scraper

Given Facebook group URLs, returns the latest posts.

Pricing

from $5.00 / 1,000 results

Rating

0.0

(0)

Developer

Han

Han

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

Scrape the latest visible posts from Facebook groups, including post text, author details, engagement metrics, images, links, and visible comments.

Inputs

  • groupLinks — Array of Facebook group URLs, for example https://www.facebook.com/groups/1234567890/. Required.
  • maxPosts — Number of latest visible posts to output for each group. Default 10; range 1-100.
  • maxComments — Maximum visible comments to output for each scraped post. Default 20; range 0-100.

Example input

{
"groupLinks": ["https://www.facebook.com/groups/1234567890/"],
"maxPosts": 10,
"maxComments": 20
}

Output

The actor writes one dataset row per scraped item or failed item. Important output fields include:

group_url, group_id, post_index, post_url, post_id, author_name, author_url, posted_at_text, posted_at_url, text, message, reaction_count_text, reaction_count, comment_count_text, comment_count, share_count_text, share_count, comments, links, image_urls, fetched_at, error

Rows with a problem include an error field instead of failing the whole run when possible.

Notes

  • Use full public URLs, including the platform hostname.
  • Apify authentication comes from the user_cookies environment variable, mapped to the @facebookCookies secret in .actor/actor.json. The cookie export must come from a logged-in Facebook session and include c_user and xs; tracking cookies such as datr, sb, fr, or wd are not enough.