Facebook Posts Scraper avatar
Facebook Posts Scraper

Pricing

Pay per event

Go to Store
Facebook Posts Scraper

Facebook Posts Scraper

Developed by

Scraper One

Scraper One

Maintained by Community

Scrape Facebook posts from Facebook pages, groups etc. Retrieve post URLs, content, publication dates, author details, and engagement metrics. Ideal for Facebook monitoring solutions.

0.0 (0)

Pricing

Pay per event

0

Total users

5

Monthly users

5

Runs succeeded

>99%

Last modified

a day ago

Apify Actor

This apify actor scrapes public posts from Facebook groups or pages based on input URLs. It supports pagination and returns data including post content, timestamp, number of comments, reactions, and author information. Allows setting a time window to scrape posts only within some specified time. Ideal for social media monitoring solutions.

Input

The actor accepts the following input fields:

FieldTypeRequiredDescription
pageUrlsstring[]A list of Facebook group or page URLs to scrape posts from.
resultsLimitnumberMaximum number of posts to extract from each URL (default: 10).
timeWindownumberDefines how far back from today the posts should be retrieved, e.g. "Get posts from the last 7 days.". For short timeframes, it's recommended to use the 'Latest' Search Type.

Example input

{
"resultsLimit": 3,
"pageUrls": [
"https://www.facebook.com/groups/1054903574928547"
]
}

Output

The actor outputs an array of post objects in JSON format with the following fields:

Example output

{
"url": "https://www.facebook.com/groups/1054903574928547/permalink/2303563860062506/",
"pageUrl": "https://www.facebook.com/groups/1054903574928547",
"timestamp": 1752519380000,
"postText": "Hey, how can I save my geranium? I repotted it and now it’s wilting before my eyes. 😔",
"reactionsCount": 3,
"reactions": {
"like": 3,
"love": 10,
"sad": 15,
"angry": 4,
"haha": 1
},
"commentsCount": 20,
"postId": "2303563860062506",
"author": {
"id": "100055230212550",
"name": "Yyyyy Tttttt",
"profilePicture": "https://scontent-mad2-1.xx.fbcdn.net/v/t39.30808-1/274300141_461291382388532_2921259538884887660_n.jpg?...",
"profileUrl": "https://www.facebook.com/kttata.adasda.44"
}
}
Let me know if you need additional output fields! 🤙

Usage

  1. Create an Apify account and navigate to the actor.
  2. Configure input parameters in the Apify UI or via API.
  3. Run the actor and monitor execution logs.
  4. Download extracted comments as JSON, CSV, or Excel.

Limitations & Notes

  • Scraping Facebook data must comply with their Terms of Service.
  • Avoid excessive scraping to prevent IP bans.
  • The accuracy of data depends on Facebook’s page structure and visibility settings.
  • Rate-limited – Free users can make only a few requests per day. Contact us if you need higher or custom limits!

Works Best With

For the best results, use this scraper alongside Facebook Posts Search.

Before extracting comments, you can use the Facebook Posts Search actor to gather post URLs based on specific keywords. Then, pass those URLs into this Facebook Comments Scraper to collect comments associated with those posts. ✅ Best Use Case Scenario

  • Run Facebook Posts Search Scraper → Collect posts based on your search criteria.
  • Feed post URLs into Facebook Comments Scraper → Extract comments for each post.
  • Gain complete insights → Combine posts and comments for a full dataset, useful for engagement analysis, sentiment tracking, and social media monitoring.

This combination provides a powerful way to analyze conversations happening around specific posts! 🚀

If you're working with multiple platforms or want additional data sources, check out these scrapers:

Support & Contact

✉️ If you encounter issues or need help, feel free to open an issue or contact us at scraper1one@gmail.com.