Facebook Post Search Scraper
by powerai
Need to find what people are really saying on Facebook? This scraper lets you search public posts by keyword, just like you would in the app, but expo...
Opens on Apify.com
About Facebook Post Search Scraper
Need to find what people are really saying on Facebook? This scraper lets you search public posts by keyword, just like you would in the app, but exports all the data for analysis. It’s the straightforward way to gather social data without the manual copy-pasting. You set your search terms and apply filters like date range, language, or post type to narrow things down. The tool then automatically clicks through pages, collecting up to 5000 posts in a single run. You’ll get the post text, author, timestamp, reaction counts, and share links delivered in a clean spreadsheet or JSON file. I use it mostly for two things: tracking brand mentions and industry trends for market research, and finding relevant conversations for lead generation. It’s saved me countless hours over manually monitoring feeds. If you need to analyze public sentiment, gather content ideas, or find potential customers discussing specific problems, this gets you the raw data quickly. Just point it at a topic, run it, and you’ve got a dataset ready to work with.
What does this actor do?
Facebook Post 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
- Click "Try This Actor" to open it on Apify
- Create a free Apify account if you don't have one
- Configure the input parameters as needed
- Run the actor and download your results
Documentation
📝 Facebook Post Search Scraper This actor allows you to search and extract Facebook posts based on keywords, with support for advanced filters and automatic pagination. It leverages the latest Facebook Post Search API, ensuring robust and up-to-date results. ## Features - Keyword Search: Find posts by any keyword or phrase. - Recent Posts: Optionally restrict results to only recent posts. - Location Filter: Filter posts by a specific location UID. - Date Range: Specify a start and end date to narrow down results. - Auto Pagination: Automatically fetches multiple pages using the API cursor until the desired number of results (maxResults) is reached. - Structured Output: Returns a structured list of post objects with detailed metadata. ## Input Parameters | Field | Type | Required | Description | | -------------- | --------- | -------- | ---------------------------------------------------------------- | | query | string | Yes | Keywords to search for Facebook posts. | | recent_posts | boolean | No | Whether to only search for recent posts. | | location_uid | string | No | Location unique identifier for filtering posts. | | start_date | string | No | Start date for filtering posts (format: yyyy-mm-dd). | | end_date | string | No | End date for filtering posts (format: yyyy-mm-dd). | | maxResults | integer | No | Maximum number of posts to fetch (default: 5, max: 5000). | ## Output The output is a list of post objects, each containing: - post_id: Post ID - type: Post type - url: Post URL - message: Post content - timestamp: Post timestamp - comments_count: Number of comments - reactions_count: Number of reactions - reshare_count: Number of reshares - reactions: Detailed reaction counts (like, love, haha, wow, sad, angry, care) - author: Author information (id, name, url, profile_picture_url) - image: Post image URL (if any) - video: Post video URL (if any) - video_thumbnail: Video thumbnail URL (if any) - external_url: External link URL (if any) Example output: json [ { "post_id": "1239493390061723", "type": "post", "url": "https://www.facebook.com/groups/1134408680570195/posts/1239493390061723/", "message": "ကျွန်တော် လက်ရှိ ဖုန်းနဲ့သုံးနေတဲ့ aiတွေပါ။\n\nChatGPT\nhttps://chat.openai.com/\n\nGoogle Bard\nhttps://bard.google.com/chat/\n\nBing Ai\nhttps://www.bing.com/?/ai\n\nအပေါ်က၃ခုက သိချင်တာမေးဖို့ဖြစ်ပြီး အောက်က၁ခုကတော့ qr codeလှလှလေးတွေ လုပ်ဖို့ပါ။\n\nQuick QR Art\nhttps://quickqr.art/\n\nတစ်ခြား သုံးလို့ကောင်းတဲ့ aiလေးတွေသိရင်လည်း လင်းပါအုံးခင်ဗျ။😁", "timestamp": 1697095987, "comments_count": 18, "reactions_count": 437, "reshare_count": 256, "reactions": { "angry": 0, "care": 2, "haha": 0, "like": 388, "love": 47, "sad": 0, "wow": 0 }, "author": { "id": "pfbid02prAFBpEg3jQ9iDjBW7noasS3ufXWx32aXuBpnugMCGzMGoAVP9WsqqaZanqaD7AWl", "name": "SK Naing", "url": "https://www.facebook.com/sknaing29", "profile_picture_url": "https://scontent.fsgn8-4.fna.fbcdn.net/v/t39.30808-1/392872297_360573559788889_2181586812231600155_n.jpg?stp=cp0_dst-jpg_p48x48_tt6&_nc_cat=103&ccb=1-7&_nc_sid=e99d92&_nc_ohc=JAdu48yDlVIQ7kNvwFSAPAY&_nc_oc=AdmsDv46TWxR0aJJ0INluXH7s6VgSOD2iTTOiGuXjcDR5oPnIgZCEG4PQeq9-hIFv-w&_nc_zt=24&_nc_ht=scontent.fsgn8-4.fna&_nc_gid=aTRTybJoeuZryp5dbsgmbQ&oh=00_AfLobla_FUp1EW9zKnmXRLdR1qaG3zZLjdlgbC86lkMSvA&oe=683B3748" }, "image": null, "video": null, "album_preview": null, "video_files": null, "video_thumbnail": null, "external_url": null, "attached_event": null, "attached_post": null, "attached_post_url": null, "scrapedAt": "2025-05-27T09:01:38.204Z" }, ... ] ## Use Cases - Social media research and analytics - Content discovery and trend analysis - Academic and marketing studies - Brand monitoring and sentiment analysis ## Notes - The actor will automatically paginate using the API cursor until the maxResults limit is reached or no more results are available. - Make sure your query is specific enough to get relevant results. - The API may have rate limits, so consider using appropriate delays between requests. --- Enjoy fast and reliable Facebook post data extraction!
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 Post Search Scraper now on Apify. Free tier available with no credit card required.
Start Free TrialActor Information
- Developer
- powerai
- Pricing
- Paid
- Total Runs
- 60,879
- Active Users
- 439
Related Actors
🏯 Tweet Scraper V2 - X / Twitter Scraper
by apidojo
Instagram Scraper
by apify
TikTok Scraper
by clockworks
Instagram Profile Scraper
by apify
Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.
Learn more about ApifyNeed Professional Help?
Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.
Trusted by millions | Money-back guarantee | 24/7 Support