Facebook Posts Scraper
Pricing
from $0.70 / 1,000 results
Facebook Posts Scraper
π₯$0.7/1000 resultsπ₯ Scrape posts from any public Facebook page or profile. Extract post text, reactions, comments count, shares, timestamps, and author details. 350+ posts/min. Scrape 10 years history. Export as JSON, CSV, Excel. API, MCP, and webhook ready for Claude, ChatGPT, and AI agents.
Pricing
from $0.70 / 1,000 results
Rating
0.0
(0)
Developer
Scrape Smith
Maintained by CommunityActor stats
1
Bookmarked
7
Total users
5
Monthly active users
3 days ago
Last modified
Categories
Share
π Facebook Posts Scraper
The fastest Facebook posts scraper on Apify. Extract posts from any public Facebook page or profile β post text, reactions, comments, shares, author details, and timestamps. 350+ posts per minute.
π What does Facebook Posts Scraper do?
This scraper collects all publicly visible posts from any Facebook page or personal profile. Paste one or more page URLs and get structured, export-ready data β JSON, CSV, or Excel.
Use it for π social media analytics, π΅οΈ competitor monitoring, π content performance tracking, π§ sentiment analysis, π content calendar research, π― audience insights, π social listening, and π academic research.
π¦ What data can you extract?
For every post, the scraper returns:
| Field | Description |
|---|---|
postText | π Full post text / caption |
postUrl | π Direct permalink to the post |
postId | π Unique Facebook post ID |
timestamp | π Unix timestamp (milliseconds) when published |
reactionsCount | β€οΈ Total reactions (like, love, wow, haha, sad, angry) |
commentsCount | π¬ Number of comments on the post |
sharesCount | π Number of times the post was shared |
authorName | π€ Page or profile name that published the post |
authorId | π Facebook user/page ID of the author |
authorProfilePic | πΌοΈ Author's profile picture URL |
pageUrl | π URL of the page being scraped |
π How to scrape Facebook page posts
- π Go to any Facebook page (brand, news, celebrity, public figure)
- π Copy the page URL from your browser
- π Paste the URL(s) into the scraper input
- π’ Set the limit β how many posts and how far back in time
- βΆοΈ Run the scraper and download your data in seconds
π Supported URL formats
- π Pages:
https://www.facebook.com/PageName - π€ Profiles:
https://www.facebook.com/profile.php?id=123456789 - π’ Business pages:
https://www.facebook.com/business-name - π° News pages:
https://www.facebook.com/cnn
βοΈ Input parameters
| Parameter | Type | Description |
|---|---|---|
pageUrls | Array of strings | π List of Facebook page or profile URLs to scrape |
maxPostsPerPage | Integer | π’ Maximum posts per page (default: 500, max: 10,000) |
daysBack | Integer | π How far back to scrape (default: 365 days, max: 3,650 = 10 years) |
π₯ Example input
{"pageUrls": ["https://www.facebook.com/Meta","https://www.facebook.com/cnn"],"maxPostsPerPage": 1000,"daysBack": 365}
π€ Example output
{"pageUrl": "https://www.facebook.com/Meta","postId": "1075637535125456","postUrl": "https://www.facebook.com/Meta/posts/1075637535125456","postText": "Exciting updates coming to our platform! Here's what's new this week π","timestamp": 1783701511000,"reactionsCount": 12500,"commentsCount": 843,"sharesCount": 1205,"authorName": "Meta","authorId": "100080376596424","authorProfilePic": "https://scontent.xx.fbcdn.net/v/..."}
π° How much does it cost to scrape Facebook posts?
The scraper uses Apify's pay-per-result pricing. You only pay for the posts you actually get β zero waste.
- π Free tier: 10 posts per run β test before you buy, no credit card needed
- β‘ Speed: 350+ posts per minute on high-volume pages
- πͺΆ Memory: Runs on just 256 MB β minimal compute cost
- π Depth: Scrape up to 10 years of post history in a single run
Check the Pricing tab above for current per-result rates.
π Why choose this Facebook Posts Scraper?
β‘ Fastest on the platform
Proprietary speed engine delivers 350+ posts/min on active pages and 200+ posts/min even on slow pages. Automatically optimizes for each page's activity level.
π Full history extraction
Scrape up to 10 years of post history. No slowdown at depth β post #5,000 loads just as fast as post #1.
π Multi-page batch scraping
Pass multiple page URLs in a single run. Pages are processed back-to-back with zero downtime between them.
π‘οΈ Enterprise reliability
Built-in health monitoring with automatic failover. If something goes wrong mid-run, the scraper self-heals and continues β no false stops, no missed data.
π‘ Use cases
π Social media analytics & reporting
Track posting frequency, engagement rates, and content performance over time. Export months of posts to build dashboards in Google Data Studio, Tableau, or Power BI.
π΅οΈ Competitor monitoring
Monitor what competitors post, how often, and what gets the most engagement. Identify their top-performing content themes and posting schedules.
π Content strategy & calendar planning
Analyze a page's historical posting patterns β what type of content drives reactions, comments, and shares. Use the data to plan your own content calendar.
π§ Sentiment analysis & NLP
Feed structured post data (text + engagement metrics + timestamps) into your NLP pipeline. Track how sentiment evolves across thousands of posts over months or years.
π° Media monitoring & PR
Track news organizations, government pages, and public figures. Get alerts when specific pages post about your brand or industry.
π Social listening at scale
Monitor dozens of Facebook pages simultaneously. Schedule recurring runs to build a time-series dataset of public Facebook activity.
π Academic & market research
Collect public post data for research. Export as CSV for analysis in Python, R, SPSS, or Excel. Timestamp precision enables time-series analysis.
π― Lead generation & audience research
Identify brands, influencers, and organizations in your niche. Analyze their post engagement to find the most active audiences and communities.
π Integrations
Connect Facebook Posts Scraper to your workflow:
- π Google Sheets β auto-export posts to a spreadsheet
- π¬ Slack / Discord β get notified when scraping completes
- β‘ Zapier / Make β trigger downstream workflows
- πͺ Webhooks β POST results to your own API endpoint
- βοΈ Amazon S3 / Google Cloud β store datasets in cloud storage
Use the Apify API or any of the official Apify client libraries (JavaScript, Python) to integrate programmatically.
π€ MCP server integration (AI agents & LLMs)
This actor works as a tool for AI agents via the Apify MCP server. Connect it to Claude, ChatGPT, Cursor, Windsurf, or any MCP-compatible AI assistant to let your agent scrape Facebook posts autonomously.
π£ Use with Claude Desktop / Claude Code
Add the Apify MCP server to your Claude config:
{"mcpServers": {"apify": {"command": "npx","args": ["-y", "@anthropic-ai/apify-mcp-server"],"env": {"APIFY_API_TOKEN": "YOUR_APIFY_TOKEN"}}}}
Then ask Claude: "Scrape the last 500 posts from facebook.com/cnn and summarize the top themes"
π’ Use with OpenAI / GPT agents
Apify actors are available as OpenAI tools via the Apify platform. See Apify + OpenAI integration docs.
π¦ Use with LangChain / LlamaIndex
from langchain_community.utilities import ApifyWrapperapify = ApifyWrapper()loader = apify.call_actor(actor_id="YOUR_ACTOR_ID",run_input={"pageUrls": ["https://www.facebook.com/cnn"],"maxPostsPerPage": 500,},dataset_mapping_function=lambda item: f"{item['postText']} (Reactions: {item['reactionsCount']})",)
π§© Why use this with AI agents?
- π¬ Research automation: Agent scrapes years of page history β analyzes trends β generates report
- π RAG pipelines: Feed real-time Facebook post data into retrieval-augmented generation
- π Analytics workflows: Agent collects posts β computes engagement metrics β builds dashboard
- π΅οΈ Competitive intel: Agent monitors competitor pages daily and summarizes posting patterns
- π― Content ideation: Agent analyzes top-performing posts across competitors β suggests content ideas
π§ API access
Call the scraper programmatically using the Apify API:
Python
from apify_client import ApifyClientclient = ApifyClient("YOUR_API_TOKEN")run = client.actor("YOUR_ACTOR_ID").call(run_input={"pageUrls": ["https://www.facebook.com/Meta"],"maxPostsPerPage": 500,"daysBack": 365,})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(f"{item['authorName']}: {item['postText'][:80]}... ({item['reactionsCount']} reactions)")
JavaScript / TypeScript
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });const run = await client.actor('YOUR_ACTOR_ID').call({pageUrls: ['https://www.facebook.com/Meta'],maxPostsPerPage: 500,daysBack: 365,});const { items } = await client.dataset(run.defaultDatasetId).listItems();items.forEach(item => console.log(`${item.authorName}: ${item.postText?.slice(0, 80)}`));
cURL
curl "https://api.apify.com/v2/acts/YOUR_ACTOR_ID/runs?token=YOUR_TOKEN" \-X POST -H "Content-Type: application/json" \-d '{"pageUrls":["https://www.facebook.com/Meta"],"maxPostsPerPage":500}'
β FAQ
π Does this scraper need my Facebook login?
No. The scraper works without your Facebook credentials. It accesses only publicly available data.
π’ How many posts can I scrape?
Up to 10,000 posts per page and up to 10 years of history. Most pages have between 500β5,000 posts.
β‘ How fast is it?
350+ posts per minute on high-volume pages (news, media, brands). Smaller pages that post less frequently run at 150β250 posts per minute.
π Can I scrape multiple pages in one run?
Yes. Pass as many page URLs as you need. They're processed sequentially with full speed optimization per page.
π Can I scrape private profiles or groups?
No. Only publicly visible page and profile posts are accessible.
π± What types of posts are extracted?
Text posts, photo posts, video posts, link shares, live videos, reels, and shared posts from public pages and profiles.
π How far back can I scrape?
Up to 10 years of post history (3,650 days). The scraper maintains full speed regardless of depth β post #5,000 loads as fast as post #1.
π Can I filter posts by keyword or date?
The scraper collects all posts within your daysBack range. Use the exported data to filter by keyword, date, engagement threshold, or any field in your analysis tool.
π Does it handle Facebook pages that post very frequently?
Yes. The engine automatically detects high-frequency pages and optimizes for maximum throughput. News pages posting 50+ times per day run at full speed.
π What about pages that post rarely?
Yes. The engine adapts to low-frequency pages too. A page posting once a week is scraped just as efficiently as one posting hourly β no wasted time on inactive periods.
βοΈ Is scraping Facebook posts legal?
This scraper only accesses publicly visible data. Always review Facebook's Terms of Service and applicable data protection regulations (GDPR, CCPA) before using scraped data commercially.