Facebook Posts Scraper
Pricing
from $1.99 / 1,000 results
Go to Apify Store
Facebook Posts Scraper
Scrape public Facebook posts, timestamps, engagement counts, and media attachments.
Pricing
from $1.99 / 1,000 results
Rating
0.0
(0)
Developer
ScrapeAI
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
4 days ago
Last modified
Categories
Share
Scrape Facebook posts from profiles, pages, groups, and search results with engagement metrics and attachment metadata.
Features
- Post Content & Metadata: Extracts Post ID, Post URL, Author Name, Profile URL, Avatar URL, Post Text, and Timestamps.
- Engagement Analytics: Captures Likes Count, Comments Count, Shares Count, and Reaction Breakdown (Like, Love, Wow, Haha, Sad, Angry).
- Attachments & Flags: Includes media attachments, hashtags, Pinned post status, and Sponsored ad status.
- Strict Data Quality: Automatic zero-null validation ensuring complete JSON records.
Input Parameters
Provide input in INPUT.json or via Apify Console form:
{"startUrls": ["https://www.facebook.com/zuck"],"maxPosts": 50}
| Parameter | Type | Description | Default / Example |
|---|---|---|---|
startUrls | Array of Strings | List of Facebook profile/page/group URLs to scrape | ["https://www.facebook.com/zuck"] |
maxPosts | Integer | Maximum number of posts to collect per URL | 50 |
Output Data Structure
The Actor pushes structured objects to the default Apify Dataset:
{"postId": "101149283749201","postUrl": "https://facebook.com/posts/101149283749201","authorName": "Mark Zuckerberg","authorUrl": "https://facebook.com/zuck","authorAvatarUrl": "https://facebook.com/avatar/sample.jpg","postText": "Excited to share our latest breakthroughs in AI models and web platform infrastructure.","timestamp": "2026-08-05T14:30:00.000Z","likesCount": 4200,"commentsCount": 850,"sharesCount": 320,"reactionsBreakdown": {"like": 3500,"love": 500,"wow": 150,"haha": 30,"sad": 10,"angry": 10},"attachments": [{"type": "image","url": "https://facebook.com/media/sample_post.png"}],"hashtags": ["#AI", "#Innovation", "#Technology"],"isPinned": false,"isSponsored": false}
How to Run
Run locally using Apify CLI:
$apify run
Or deploy to Apify Platform:
$apify push