Facebook Posts Search Scraper

Facebook Posts Search Scraper

by easyapi

Need to monitor Facebook for brand mentions, track competitors, or spot emerging trends? This Facebook Posts Search Scraper is built for exactly that....

22,588 runs
906 users
Try This Actor

Opens on Apify.com

About Facebook Posts Search Scraper

Need to monitor Facebook for brand mentions, track competitors, or spot emerging trends? This Facebook Posts Search Scraper is built for exactly that. It's a straightforward actor that lets you automate the collection of public posts from Facebook search results using your own custom queries. You tell it what to search for, and it systematically gathers the posts, pulling out the details you actually need. For each post, you get the full text content, author information, and key engagement metrics like the number of reactions, comments, and shares. This data is delivered in a clean, structured format (like JSON or CSV) that's ready for analysis in your preferred spreadsheet or data visualization tool. I use it primarily for social listening and market research. It saves countless hours of manual scrolling and copying, giving you a scalable way to gather data for sentiment analysis, campaign tracking, or understanding what topics are resonating in your industry. Whether you're a marketer, a researcher, or a developer building a data pipeline, this scraper turns Facebook's public search into a usable, actionable dataset. Just configure your search terms, run the actor, and get the data flowing.

What does this actor do?

Facebook Posts Search Scraper is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

Facebook Posts Search Scraper Effortlessly extract posts from Facebook search results based on your query. ## Features - πŸ” Scrape posts from Facebook search results using custom queries - πŸ“Š Extract detailed information about each post, including likes, comments, and shares - πŸ”’ Set a custom limit for the number of posts to scrape - πŸš€ Uses browser automation to handle dynamic content - πŸ›‘οΈ Incorporates anti-detection measures for reliable scraping ## Description The Facebook Posts Search Scraper is a powerful tool designed to automate the process of extracting posts from Facebook search results. It navigates through the search results page, scrolling and loading more content as needed, to collect comprehensive information about each post matching your search criteria. ## Input Parameters | Field | Type | Description | | --- | --- | --- | | searchQuery | String | The search query to find Facebook posts | | maxPosts | Integer | Maximum number of posts to scrape (default: 100, max: 5000) | ## Output The actor provides detailed information for each post, including: - facebookUrl: URL of the Facebook page that made the post - pageId: Unique identifier of the Facebook page - postId: Unique identifier of the post - pageName: Name of the Facebook page - url: Direct URL to the post - time: Formatted date and time of the post - timestamp: Unix timestamp of the post - likes: Number of likes on the post - comments: Number of comments on the post - shares: Number of times the post has been shared - text: The actual content of the post - link: URL of any link attached to the post - thumb: URL of the thumbnail image (if available) - topLevelUrl: Constructe ## Use Cases - Social media monitoring: Track mentions of specific keywords or phrases - Competitive analysis: Research posts related to competitors or industry trends - Market research: Gather insights on public discussions about products or services - Content curation: Find relevant posts for content marketing or reporting - Trend analysis: Identify popular topics and discussions within specific search queries Gain valuable insights from Facebook post search results with the Facebook Posts Search Scraper! ### Input Example A full explanation of an input example in JSON. { "maxItems": 10, "searchQuery": "football" } ### Output sample The results will be wrapped into a dataset which you can always find in the Storage tab. Here's an excerpt from the data you'd get if you apply the input parameters above: And here is the same data but in JSON. You can choose in which format to download your data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML. [ { "facebookUrl": "https://www.facebook.com/BleacherReportFootball", "pageId": "100044187438640", "postId": "1150692399746997", "pageName": "Bleacher Report Football", "url": "https://www.facebook.com/BleacherReportFootball/posts/pfbid02KPDjc6DpFw1KDQYwptdvvUwGF4GLjsQZnfyU8g3osUAzonhcr2crgEJTKSroqWt6l", "time": "2024-10-01 18:11:20", "timestamp": 1727777480, "likes": 18189, "comments": 399, "shares": "2.4K", "text": "After 1,016 games and 38 trophies, 40-year-old AndrΓ©s Iniesta is finally hanging up his boots. One of the greatest to ever do it ✨πŸ‡ͺπŸ‡Έ", "link": "https://www.facebook.com/photo/?fbid=1150688623080708&set=a.274973270652252", "thumb": "https://scontent-ams4-1.xx.fbcdn.net/v/t39.30808-6/461867291_1150688626414041_3301490527386528216_n.jpg?_nc_cat=107&ccb=1-7&_nc_sid=127cfc&_nc_ohc=AiHZSsVt6KEQ7kNvgEYueNX&_nc_ht=scontent-ams4-1.xx&_nc_gid=AciHdLzF0Usp66QNMP-zbbm&oh=00_AYDH8qoqGJfpzhYvHPwvO5i1Vx3kSYm5NHuCkc7uac0SGA&oe=670BAE6B", "topLevelUrl": "https://www.facebook.com/100044187438640/posts/1150692399746997", "facebookId": "100044187438640", "postFacebookId": "1150692399746997" }, { "facebookUrl": "https://www.facebook.com/BleacherReportFootball", "pageId": "100044187438640", "postId": "1155050565977847", "pageName": "Bleacher Report Football", "url": "https://www.facebook.com/BleacherReportFootball/posts/pfbid0WbTYHzp7Cg8CkXLgTAbDmZQy7XvzF1v2bRSM2aTDC394LSqWTvuw6ggtaYaCu9EMl", "time": "2024-10-07 20:08:01", "timestamp": 1728302881, "likes": 16896, "comments": 1071, "shares": "1.9K", "text": "𝟏𝟎/πŸ•. It's GOAT day 🐐", "link": "https://www.facebook.com/photo/?fbid=1155050412644529&set=a.274973270652252", "thumb": "https://scontent-ams4-1.xx.fbcdn.net/v/t39.30808-6/462272513_1155050419311195_494466168420217208_n.jpg?_nc_cat=101&ccb=1-7&_nc_sid=127cfc&_nc_ohc=9sKAaIQLBTkQ7kNvgGG5Nud&_nc_ht=scontent-ams4-1.xx&_nc_gid=AciHdLzF0Usp66QNMP-zbbm&oh=00_AYAZnl6PWZ99war6Y2i2gom6gAskQXoh3GK7swFR59phPw&oe=670BD8A9", "topLevelUrl": "https://www.facebook.com/100044187438640/posts/1155050565977847", "facebookId": "100044187438640", "postFacebookId": "1155050565977847" }, ... ]

Categories

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try Facebook Posts Search Scraper now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
easyapi
Pricing
Paid
Total Runs
22,588
Active Users
906
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support