Facebook Page Post Extractor ๐Ÿค–๐Ÿ’พ: Data, Details & Analytics avatar

Facebook Page Post Extractor ๐Ÿค–๐Ÿ’พ: Data, Details & Analytics

Pricing

from $3.50 / 1,000 results

Go to Apify Store
Facebook Page Post Extractor ๐Ÿค–๐Ÿ’พ: Data, Details & Analytics

Facebook Page Post Extractor ๐Ÿค–๐Ÿ’พ: Data, Details & Analytics

This Apify actor scrapes posts and comments from public Facebook pages. It collects post content, reactions, comments, and attachments, then outputs structured JSON files for analysis.

Pricing

from $3.50 / 1,000 results

Rating

5.0

(1)

Developer

TheDoor

TheDoor

Maintained by Community

Actor stats

1

Bookmarked

81

Total users

20

Monthly active users

3 hours ago

Last modified

Share

Facebook Page Scraper

Extract posts, media, and engagement metrics from public Facebook pages - no coding required!

๐Ÿ“‹ What This Actor Does

This actor scrapes public Facebook pages and extracts:

  • Post content (text, images, videos)
  • Hashtags from post text
  • Engagement metrics (reactions, comments, shares)
  • Author information
  • Post timestamps
  • Shared links

Perfect for social media monitoring, content analysis, and market research.


๐Ÿš€ How to Use

Step 1: Input Your Settings

You only need to provide two things:

Facebook Page URLs (Required)

Enter the Facebook page URLs you want to scrape. You can add multiple pages.

Examples:

https://www.facebook.com/newshour/
https://www.facebook.com/nytimes/
https://www.facebook.com/usatoday/

Tips:

  • Use the full Facebook page URL
  • You can scrape multiple pages at once
  • Make sure the pages are public (not private groups)

Number of Posts (Optional)

How many posts to scrape from each page. Default is 100 posts per page.

Examples:

  • 10 - Get the 10 most recent posts
  • 50 - Get the 50 most recent posts
  • 100 - Get the 100 most recent posts

๐Ÿ“Š Output Format

The actor saves results to the Dataset tab. Each post is saved as a separate item with the following information:

Example Output

{
"type": "post",
"post_type": "__post__",
"post_url": "https://www.facebook.com/usatoday/posts/...",
"text": "Breaking news: Scientists discover... #Science #Discovery",
"hashtags": ["#Science", "#Discovery"],
"user_name": "USA TODAY",
"creation_time": "Fri, 30 Jan 2026 11:00:30 GMT",
"creation_timestamp": 1769770830000,
"thumbnail": "https://scontent.fsof10-1.fna.fbcdn.net/...",
"reactions_count": 245,
"comments_count": 18,
"shares_count": 42,
"post_id": "UzpfSTEwMDA1MzU4NDg3MzM5ODox...",
"page_url": "https://www.facebook.com/usatoday/",
"page_id": "100053584873398",
"media": [
{
"type": "Photo",
"media_type": "photo",
"uri": "https://scontent.fsof10-1.fna.fbcdn.net/...",
"thumbnail": "https://scontent.fsof10-1.fna.fbcdn.net/...",
"width": 960,
"height": 540
}
],
"shared_links": [],
"engagement": {
"comments_count": 18,
"reactions_count": 245,
"shares_count": 42
},
"page": {
"id": "100053584873398",
"name": "USA TODAY"
},
"actors": [
{
"id": "100053584873398",
"name": "USA TODAY",
"url": "https://www.facebook.com/usatoday",
"type": "User"
}
]
}

Field Descriptions

FieldDescriptionExample
post_urlDirect link to the Facebook posthttps://www.facebook.com/...
textThe post content/caption"Breaking news: Scientists..."
hashtagsArray of hashtags found in the post text["#Science", "#Amazon"]
user_nameName of the page that posted"USA TODAY"
creation_timeWhen the post was created (readable format)"Fri, 30 Jan 2026 11:00:30 GMT"
creation_timestampWhen the post was created (Unix timestamp)1769770830000
thumbnailPreview image URL"https://scontent.fsof10-1..."
reactions_countTotal reactions (likes, love, etc.)245
comments_countNumber of comments18
shares_countNumber of shares42
mediaArray of photos/videos in the postSee media structure below
shared_linksShared posts or external links (when a page shares another post or link)[]
page_idUnique Facebook page ID"100053584873398"
page_urlURL of the Facebook page"https://www.facebook.com/usatoday/"

Media Structure

Each media item contains:

{
"type": "Photo",
"media_type": "photo",
"uri": "https://scontent.fsof10-1.fna.fbcdn.net/...",
"thumbnail": "https://scontent.fsof10-1.fna.fbcdn.net/...",
"width": 960,
"height": 540
}
  • type - Media type: "Photo" or "Video"
  • uri - Full-size media URL
  • thumbnail - Thumbnail image URL
  • width / height - Dimensions in pixels

When a page shares another post or includes external links, they appear in shared_links:

{
"url": "https://example.com/article",
"title": "Article Title",
"description": "Article description...",
"thumbnail": "https://scontent.fsof10-1.fna.fbcdn.net/...",
"media": [
{
"type": "Photo",
"uri": "https://scontent.fsof10-1.fna.fbcdn.net/...",
"thumbnail": "https://scontent.fsof10-1.fna.fbcdn.net/..."
}
]
}

Note: shared_links captures:

  • Shared Facebook posts (when a page shares another page's post)
  • External website links included in the post
  • Link previews with thumbnails and descriptions

๐Ÿ’พ Export Options

After the actor finishes, you can export your data in multiple formats:

  • JSON - For developers and data analysis
  • CSV - For Excel and spreadsheet applications
  • Excel - Direct Excel file download
  • HTML - For viewing in a browser
  • RSS - For feed readers

Click the Export button in the Dataset tab to choose your format.


๐Ÿ“ Example Use Cases

Social Media Monitoring

Track what your competitors or industry leaders are posting on Facebook.

Input:

Page URLs: https://www.facebook.com/competitor1/, https://www.facebook.com/competitor2/
Number of Posts: 50

Content Research

Analyze what type of content gets the most engagement.

Input:

Page URLs: https://www.facebook.com/yourpage/
Number of Posts: 100

News Aggregation

Collect recent news posts from multiple news outlets.

Input:

Page URLs: https://www.facebook.com/nytimes/, https://www.facebook.com/cnn/, https://www.facebook.com/bbc/
Number of Posts: 20

โš ๏ธ Important Notes

What You Can Scrape

  • โœ… Public Facebook pages
  • โœ… Posts visible to everyone
  • โœ… Public engagement metrics

What You Cannot Scrape

  • โŒ Private profiles
  • โŒ Private groups
  • โŒ Content requiring login
  • โŒ Individual user comments (only comment counts)

Rate Limits

  • The actor uses smart session management to avoid rate limits
  • For very large scrapes (1000+ posts), the actor may take longer
  • Facebook may temporarily block excessive requests

Data Freshness

  • Posts are scraped in real-time
  • Engagement metrics reflect the moment of scraping
  • Re-run the actor to get updated metrics

๐Ÿ”ง Troubleshooting

No Results Returned

  • Check the URL: Make sure you're using the full Facebook page URL
  • Verify the page is public: Private pages cannot be scraped
  • Try fewer posts: Start with 10 posts to test

Missing Data

  • Some posts may not have all fields (e.g., no media, no shared links)
  • This is normal - the actor extracts whatever is available

Actor Takes Too Long

  • Reduce the number of posts per page
  • Scrape fewer pages at once
  • Large scrapes (500+ posts) can take 10-20 minutes

๐Ÿ“ž Support

Need help? Have questions?

  • Check the Issues tab for common problems
  • Review the Console tab for error messages
  • Contact support through the Apify platform

๐Ÿ”’ Privacy & Terms

This actor:

  • Only scrapes publicly available data
  • Complies with Facebook's robots.txt
  • Does not require your Facebook login
  • Does not access private content

Important: Use this actor responsibly and in compliance with:

  • Facebook's Terms of Service
  • Your local data protection laws (GDPR, CCPA, etc.)
  • Apify's Terms of Service

By using this actor, you agree to use the scraped data ethically and legally.


๐Ÿ“ˆ Pricing

This actor uses compute units based on:

  • Number of pages scraped
  • Number of posts per page
  • Actor runtime

Estimated costs:

  • 10 posts from 1 page: ~0.01 compute units
  • 100 posts from 5 pages: ~0.05 compute units
  • 1000 posts from 10 pages: ~0.5 compute units

Check the Apify platform for current compute unit pricing.


๐ŸŽฏ Quick Start Example

  1. Click Try for free or Start
  2. Enter a Facebook page URL: https://www.facebook.com/nytimes/
  3. Set posts to scrape: 10
  4. Click Start
  5. Wait 1-2 minutes
  6. View results in the Dataset tab
  7. Click Export to download your data

That's it! No coding required. ๐ŸŽ‰