Facebook Posts Scraper avatar

Facebook Posts Scraper

Pricing

from $3.49 / 1,000 results

Go to Apify Store
Facebook Posts Scraper

Facebook Posts Scraper

Scrape posts from public Facebook groups by URL, share link, or ID. Returns detailed data including reactions breakdown, media URLs, author info, and engagement metrics.

Pricing

from $3.49 / 1,000 results

Rating

5.0

(1)

Developer

ScrapeForge

ScrapeForge

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

2 days ago

Last modified

Share

Facebook Posts Scraper — Groups, Pages & Profiles

Scrape posts from public Facebook groups, pages, and profiles by URL or ID. Just paste any Facebook URL — the actor auto-detects whether it's a group, a page, or a personal profile and returns structured, machine-readable data with full engagement metrics, author details, and media URLs.

What does this actor do?

Give it one or more public Facebook links and it returns their posts as structured data — perfect for community research, market analysis, brand monitoring, and content discovery. It accepts full URLs, share links, profile.php?id= and /people/… links, or numeric IDs; classifies each one automatically; resolves it to its numeric ID; and paginates through the feed for you.

Features

  • One input for everything: Paste group, page, and profile URLs together in the urls field — each is classified automatically.
  • All URL shapes: Vanity URLs (/DuaLipa, /username), group URLs (/groups/...), share links (/share/g/...), profile.php?id=..., /people/<name>/<id>/, and bare numeric IDs.
  • Multiple sources per run: Pass a list and scrape them all in one run.
  • Automatic ID resolution: Share links and vanity URLs are resolved to the numeric ID.
  • Date filtering: Narrow results to a specific date range (server-side for pages/profiles).
  • Automatic deduplication: No duplicate posts in your dataset.
  • Automatic pagination: Fetches as many posts as you need per source (up to 1,000).
  • Engagement metrics: Reactions breakdown (like, love, haha, wow, sad, angry, care), comments count, and shares count.
  • Rich media: Image URLs with dimensions, video files (SD/HD), video thumbnails.
  • Author info: Name, profile URL, and profile picture for each post author.

Input parameters

ParameterTypeDescription
urlsArrayList of public Facebook URLs or IDs — groups, pages, or profiles. Each entry is classified automatically.
group_urlsArrayDeprecated (use urls). Entries here are always treated as groups, for backward compatibility.
max_postsIntegerMaximum unique posts to return per source (1–1,000). Default: 20
start_dateDateFilter posts from this date (YYYY-MM-DD)
end_dateDateFilter posts until this date (YYYY-MM-DD)

At least one of urls or group_urls must be provided.

Example input

{
"urls": [
"https://www.facebook.com/groups/jiquipilcoedomex",
"https://www.facebook.com/DuaLipa",
"https://www.facebook.com/people/Some-Profile/100027191090994/"
],
"max_posts": 50
}

Output

Each post in the dataset contains:

{
"post_id": "pfbid02ABC123",
"source_type": "page",
"source_id": "100044095313280",
"source_url": "https://www.facebook.com/DuaLipa",
"source_name": "Dua Lipa",
"group_id": null,
"group_url": null,
"type": "photo",
"url": "https://www.facebook.com/DuaLipa/posts/pfbid02ABC123",
"message": "Check out this amazing product!",
"timestamp": 1710864000,
"comments_count": 42,
"reactions_count": 156,
"reshare_count": 12,
"reactions": {
"like": 100,
"love": 30,
"haha": 10,
"wow": 8,
"sad": 3,
"angry": 2,
"care": 3
},
"author": {
"id": "123456789",
"name": "John Doe",
"url": "https://www.facebook.com/johndoe",
"profile_picture_url": "https://..."
},
"image": { "uri": "https://...", "height": 720, "width": 1280, "id": "img123" },
"video": null,
"external_url": null
}
  • source_type is group, page, or profile, with source_id / source_url / source_name describing the origin.
  • For group posts, group_id and group_url are also populated (backward compatibility). For pages and profiles they are null.

Use cases

  • Community research: Understand what a group's members post and engage with.
  • Brand & competitor monitoring: Track a brand page's or a public figure's posts and engagement.
  • Market research: Discover trends and public sentiment within a niche.
  • Content discovery: Find popular posts in your niche for inspiration.

Pricing

This actor is priced per result. You only pay for the posts you get — no hidden fees for failed runs or empty sources.

Usage limits for free tier users

To keep the service sustainable, accounts on the Apify Free plan have the following limits when running this actor:

  • Up to 20 posts per run — any higher value in max_posts is automatically reduced.
  • 1 source per run — extra entries are ignored on the free plan.
  • 1 run per 24 hours — a second run launched within 24 hours of the previous one finishes immediately with a status message explaining when to retry.

When a limit is reached, the run finishes gracefully (no error) and the status message explains what happened.

Paid plans (Starter / Bronze and above) are not subject to these per-actor limits. To remove the restrictions, upgrade your Apify plan at https://console.apify.com/billing.

Limitations

  • Only PUBLIC sources can be scraped. Private groups and private profiles return no posts.
  • Results depend on Facebook's public availability.
  • Some posts may not be accessible if the author has restricted visibility.
  • Video file URLs (SD/HD) may expire after some time.

Disclaimer

This is an unofficial actor and is not affiliated with, endorsed by, or sponsored by Facebook or Meta. It is developed and maintained independently. Facebook is a trademark of Meta Platforms, Inc.

This actor accesses only publicly available data. Users are responsible for ensuring their use complies with Facebook's Terms of Service and all applicable laws. By using this actor, you agree that you are solely responsible for how you use the extracted data.