Facebook Posts Search avatar
Facebook Posts Search

Pricing

Pay per event

Go to Store
Facebook Posts Search

Facebook Posts Search

scraper_one/facebook-posts-search

Developed by

Scraper One

Maintained by Community

✨ Search for Facebook posts using keywords or hashtags. Retrieve post URLs, content, publication dates, author details, and engagement metrics. Ideal for monitoring brand mentions on Facebook over time.

0.0 (0)

Pricing

Pay per event

3

Monthly users

29

Runs succeeded

>99%

Last modified

5 hours ago

Apify Actor

  • This Apify Actor searches for posts on Facebook based on keywords or hashtags. The results include post url, post content, publication date, author information, and engagement metrics.

  • It is a perfect tool for monitoring Facebook for brand mentions over time. You can set a time window to filter posts based on their publication date, e.g. search for posts published in the last day or in the last 7 days. Stay ahead of potential reputation risks, respond to significant events, and engage with highly active public discussions 🚀

Features

  • 🔍 Search by keywords, hashtags
  • 📅 Filter by time window, location
  • 📊 Extract likes, comments, reactions etc.
  • 🖼️ Retrieve images and links from posts

Input Parameters

ParameterTypeRequiredDescription
querystringKeyword to search posts for.
resultsCountnumberMaximum number of posts to extract (e.g. 30). If not set, only a few of the first posts will be returned.
timeWindownumberDefines how far back from today the posts should be retrieved, e.g. "Get posts from the last 7 days.". For short timeframes, it's recommended to use the 'Latest' Search Type.
locationstringLocation to search posts for. E.g. London, Mexico, Disneyland
searchTypestringSearch type: most popular - top (default) or latest.

Example Input

1{
2  "query": "Orange",
3  "resultsCount": 50,
4  "timeWindow": 7,
5  "location": "Some Place",
6  "searchType": "top"
7}

Output Data

The actor returns an array of JSON objects with extracted post data.

Example Output

1[
2  {
3    "url": "https://www.facebook.com/fanpage.TECHART/posts/pfbid0ZYMHCBMGHHQ9W98d9goZ4VpxTeLJSxsZGLfa2V2qbdH6jUyLEUubNTtU7joTi2vVl",
4    "timestamp": 1741446382000,
5    "postText": "An absolutely stunning custom TECHART 911 in Dubai - from Kuwait. 🍊 Individually specced by its owner and enhanced with bespoke TECHART parts, this masterpiece is a perfect blend of performance and personality💥\n\n #TECHART #Porsche911 #performance #Dubai #kuwait #dubaicarscene #orange #fireorange #techart911 #modified #supercar #turbos #pts #spec",
6    "postId": "1039098938255694",
7    "commentsCount": 1,
8    "reactionsCount": 251,
9    "reactions": {
10      "like": 218,
11      "love": 30,
12      "support": 3,
13      "haha": 4,
14      "wow": 5,
15      "sorry": 6,
16      "anger": 1
17    },
18    "author": {
19      "id": "100064667923654",
20      "name": "TECHART",
21      "profilePicture": "https://scontent.fpoz3-1.fna.fbcdn.net/v/t39.30808-1/456489401_896151582550431_24163435258366057_n.jpg?stp=cp0_dst-jpg_s40x40_tt6&_nc_cat=1&ccb=1-7&_nc_sid=2d3e12&_nc_ohc=IM5hZJUVYW4Q7kNvgEbjQG-&_nc_oc=AdgaUzjYbPFsX1Bqb5uCkqfUkkiSP08tDFRDaf_lWpvAVWtvi1PZ2EZPwb3xQMH3QGo&_nc_zt=24&_nc_ht=scontent.fpoz3-1.fna&_nc_gid=AisRMMlcXptyQVMB6EPMrRw&oh=00_AYHdBHpSFQ5MqsVcigYr0UJ4-wz0B5TJWl1LIHsB1diH3w&oe=67D929DD",
22      "profileUrl": "https://www.facebook.com/fanpage.TECHART"
23    }
24  }
25]
Let us know if you need any other output fields. 🤙

Usage

  1. Create an Apify account and navigate to the actor.
  2. Configure input parameters in the Apify UI or via API.
  3. Run the actor and monitor execution logs.
  4. Download extracted posts as JSON, CSV, or Excel.

Limitations & Notes

  • Scraping Facebook data must comply with their Terms of Service.
  • Avoid excessive scraping to prevent IP bans.

Works Best With

To maximize the effectiveness of this scraper, use it in combination with Facebook Comments Scraper.

By first extracting Facebook posts with this scraper, you can then pass the collected post URLs into the Facebook Comments Scraper, allowing you to retrieve comments associated with those posts.

Best Use Case Scenario

  • 🔎 Run Facebook Posts Search actor → Collect a list of posts based on keywords.
  • 📥 Feed post URLs into Facebook Comments Scraper → Extract comments from the collected posts for deeper analysis.
  • 📊 Get full post insights → Combine post metadata and comments for a complete dataset.

This workflow is ideal for social media monitoring, sentiment analysis, and engagement tracking. 🚀

If you're working with multiple platforms or want additional data sources, check out these scrapers:

Support & Contact

✉️ If you encounter issues or need help, feel free to open an issue or contact us at scraper1one@gmail.com

Pricing

Pricing model

Pay per event 

This Actor is paid per result. You are not charged for the Apify platform usage, but only a fixed price for each dataset of 1,000 items in the Actor outputs.

Initilize actor

$0.003

Set up prerequisites necessary to run the actor

Set location

$0.003

Search for the location from user input and set is as active

Result item

$0.003

Provide single result item