CoreClaw
Store
Pricing
Start Free Trial
mn06pz6r

Facebook Post Scraper(by URL)

Pricing
Try for free
mn06pz6r

Facebook Post Scraper(by URL)

mn06pz6r/facebook-tie-zi-nei-rong-zhua-qu-gong-ju-by-url

Facebook Post Scraper extracts post content and engagement data from Facebook by visiting individual post URLs. It fetches each post page concurrently and parses the text content, media attachments, reactions, comments, shares, and other metadata.

Try for Free

What does Facebook Post Scraper do?

Facebook Post Scraper extracts post content and engagement data from Facebook by visiting individual post URLs. It fetches each post page concurrently and parses the text content, media attachments, reactions, comments, shares, and other metadata.

  • Scrape Facebook posts by providing post URLs directly
  • Concurrent fetching for processing multiple posts in parallel
  • Extract comprehensive post data: text content, hashtags, reactions, comments, shares, and more
  • Parse media attachments including photos and videos
  • Detect post type (Post or Reel), sponsored content, and partnership info
  • Configurable retry and concurrency settings
  • Export data in multiple formats: JSON, CSV, Excel, or HTML

What data can you get from Facebook

Facebook Post Scraper can gather the following data from each post:

📝 Post content🆔 Post ID📅 Date posted
👤 User name🌐 User URL✅ Page verified
💬 Comments count🔁 Shares count👍 Likes count
😍 Reaction types🖼️ Post images🎬 Attachments
🔗 Hashtags📺 Video views📰 Post type
💰 Is sponsored🤝 Sponsor name📷 Avatar image

How to scrape Facebook posts with Facebook Post Scraper?

Facebook Post Scraper is easy to use. Follow these 5 steps:

  1. Collect one or more Facebook post URLs (e.g. https://www.facebook.com/zuck/posts/10102593740125791).
  2. Configure the input: paste the URLs into the url field.
  3. Adjust retry_times and max_concurrency if needed.
  4. Run the scraper and wait for the data to be extracted.
  5. Download your data in JSON, CSV, Excel, or HTML.

Input

To start scraping Facebook posts, fill in the input parameters. Facebook Post Scraper supports the following inputs:

  • url (required): Array of Facebook post URLs
  • retry_times (optional): Number of retry attempts per request, between 1 and 5 (default: 3)
  • max_concurrency (optional): Maximum number of concurrent requests, between 1 and 20 (default: 8)

Input JSON

json
{
  "url": [
    { "url": "https://www.facebook.com/zuck/posts/10102593740125791" }
  ],
  "retry_times": 3,
  "max_concurrency": 8
}

Output

Each input URL returns one result row:

FieldTypeDescription
urlstringThe post URL that was crawled
statusstringCollection status (success or failed)
dataobjectParsed post content data
errorstringError message (empty on success)
error_codestringError code (empty on success)

Here is an example of the data object in JSON:

json
{
  "url": "https://www.facebook.com/zuck/posts/10102593740125791",
  "post_id": "10102593740125791",
  "user_url": "https://www.facebook.com/zuck",
  "user_username_raw": "Mark Zuckerberg",
  "profile_id": "4",
  "page_url": "https://www.facebook.com/zuck",
  "page_logo": "https://scontent.fbko1-1.fna.fbcdn.net/...",
  "avatar_image_url": "https://scontent.fbko1-1.fna.fbcdn.net/...",
  "page_is_verified": true,
  "content": "Excited to announce our new AI research lab! #AI #Meta",
  "date_posted": "2025-06-15T14:30:00.000Z",
  "hashtags": ["AI", "Meta"],
  "num_comments": 12345,
  "num_shares": 5678,
  "num_likes_type": [
    { "type": "Like", "num": 89000 },
    { "type": "Love", "num": 15000 },
    { "type": "Wow", "num": 3200 }
  ],
  "likes": 89000,
  "post_type": "Post",
  "post_image": "https://scontent.fbko1-1.fna.fbcdn.net/...",
  "video_view_count": null,
  "play_count": null,
  "is_sponsored": false,
  "sponsor_name": null,
  "has_handshake": false,
  "attachments": [
    {
      "attachment": {
        "attachment_url": "https://www.facebook.com/photo.php?fbid=...",
        "id": "10102593740125792",
        "source_type": "photo",
        "type": "photo",
        "url": "https://scontent.fbko1-1.fna.fbcdn.net/...",
        "thumbnail_url": "https://scontent.fbko1-1.fna.fbcdn.net/...",
        "video_length": null,
        "video_url": null
      }
    }
  ],
  "post_external_link": null,
  "post_external_title": null,
  "profile_handle": "zuck",
  "user_handle": "zuck",
  "shortcode": "10102593740125791",
  "delegate_page_id": null,
  "error": "",
  "error_code": "",
  "user-input": ""
}

How can I use the data extracted from Facebook posts?

  • 📊 Perform sentiment analysis on post content and reactions
  • 📈 Track engagement metrics (likes, comments, shares) over time
  • 🎯 Analyze content performance to optimize your social media strategy
  • 🔍 Conduct competitor analysis by monitoring rival brand posts
  • 💡 Identify trending topics and hashtags in your niche
  • 🎬 Extract media assets (images, videos) for content curation
  • 📋 Build UGC databases for marketing and brand monitoring
  • 🔬 Use post data for academic research on social media behavior

Error items

When the scraper cannot retrieve data for a given URL, it pushes an error item to the dataset instead of silently skipping it. Normal output items are never affected; you can tell them apart by the presence of a non-empty error_code field.

Error item structure

json
{
  "url": "https://www.facebook.com/invalid-post",
  "status": "failed",
  "data": null,
  "error": "Post not found or access denied",
  "error_code": "PAGE_NOT_FOUND"
}

Error codes reference

error_codeMeaning
PAGE_NOT_FOUNDThe requested post URL does not exist or has been removed
ACCESS_DENIEDThe post is private or requires login
REQUEST_TIMEOUTThe request timed out after all retry attempts
PARSE_ERRORThe HTML response could not be parsed
NETWORK_ERRORA network-level error occurred during fetching

FAQ

What types of posts does this scraper support?

Facebook Post Scraper supports standard posts (with text, images, or links) and video posts/Reels. The post_type field in the output indicates whether a post is a Post or Reel.

Can I scrape posts from multiple URLs at once?

Yes. The url field accepts an array of post URLs. The scraper will process all URLs concurrently and return one result row per URL.

How fast is the scraper?

The scraper uses concurrent requests (controlled by max_concurrency) to fetch multiple post pages in parallel. With the default setting of 8 concurrent requests, it can process a large batch of URLs efficiently. You can increase max_concurrency up to 20 for faster scraping.

What data is available for video posts?

For video posts, the scraper extracts additional fields such as video_view_count and play_count. Media attachments will contain video URLs, thumbnails, and video duration.

What happens if a post has been deleted?

The scraper returns an error item with a PAGE_NOT_FOUND error code for deleted posts, while continuing to process the remaining URLs normally.

Pricing

Failed results don't count

Rating

5.0

Developer

mn06pz6r

Worker Stats

1 Total runs
Success rate: 100.00%
Last updated: Jul 09, 2026

Categories

Facebook

Share

You might also like

Explore more popular scrapers from our marketplace

View All Scrapers
Facebook Post Scraper(by URL)

Facebook Post Scraper(by URL)

by CoreClaw

Extract data in real time via URLs, easily capture posts, shares and engagement metrics, free from complex infrastructure maintenance and IP blocks. One-click CSV/JSON export supported.

4.9
167 runs
From $0.6/1,000 results
Facebook Events Scraper(by Events URL)

Facebook Events Scraper(by Events URL)

by CoreClaw

Extract public Facebook event data in bulk via URLs, including details, attendance and organizer info. One-click CSV/JSON export, no coding required.

4.5
19 runs
From $0.6/1,000 results
Scrape Facebook Profiles(by URL)

Scrape Facebook Profiles(by URL)

by CoreClaw

Scrape Facebook profiles by inputting a profile URL, including basic user information, work experience, education background, contact information, etc., and output them in CSV or JSON format.

4.4
110 runs
From $0.6/1,000 results
Facebook Pages Scraper(by List URL)

Facebook Pages Scraper(by List URL)

by CoreClaw

Extract public Facebook event data in bulk from event list URLs, including basic info, organizer and participant data. Export CSV/JSON with one click, no coding required.

5.0
30 runs
From $0.6/1,000 results
View All Scrapers
CoreClaw

Deploy ready-to-use Workers to accelerate your data collection workflows.

Email: support@coreclaw.com

Resources

  • Quick Start
  • API Reference
  • Leads
  • Affiliate Program

Recommend

  • Store
  • Pricing

Address

Apex DataWorks Limited

UNIT 9, 1/F, THE CLOUD, 111 TUNG CHAU STREET, TAI KOK TSUI, KOWLOON,HONG KONG