# Scrape public Facebook posts for a keyword, with no scraper to run

Give your agent a keyword. RouterGrowth searches public Facebook posts for it, including posts in public groups, and returns rows with the text, author, date and link. Nothing runs from your machine or account, so blocks, logins and page changes are not your problem.

HTML page: https://www.routergrowth.com/tools/facebook/scraper
Part of: [Facebook tools](https://www.routergrowth.com/tools/facebook.md)

## The call

[`social.search`](https://www.routergrowth.com/catalog/social.search): Public posts matching a keyword on X, LinkedIn, Reddit, YouTube, TikTok, Instagram or Facebook: brand mentions, category conversations, competitor chatter.

Price on this network: $0.007 per post plus $0.000088 per call, $0.002 minimum a call. The exact quote is shown before every run.

## What a real run returned

Run on 2026-10-19: 5 records in 6.0 s for $0.035088. Personal fields are masked. Five public posts for "meal prep delivery": requests for recommendations in a Manila group next to posts by meal prep businesses.

| text | author | created_at |
|---|---|---|
| Any recos: Meal Prep Delivery? Loc: Makati, BGC Im so busy 🥹 | Ja*** | 2026-10-16 |
| Your weekly meals, ready na. 📦 No need magluto araw-araw or mag-meal prep. With NutriPrep, you get: 💪 High-protein meals 🥗 Balanced portion… | Nu*** | 2026-09-15 |
| ₱2,300 to take meal prep off your plate. 👨‍🍳 Here’s what’s included in a Phat Chef Meal Prep Session: 🍽️ Choose your meal prep: • 4 entrées… | th*** | 2026-09-05 |

## How to do it

1. **Connect RouterGrowth once.** Add the MCP server to Claude, ChatGPT, Claude Code, Codex or Cursor. A new workspace starts with $1 of credit, enough to run this example many times.
2. **Say the keyword.** Ask for Facebook posts about a product, a need or a competitor, and how many to read.
3. **Read the rows.** social.search returns each post with its link, text, author and date.
4. **Sort buyers from sellers.** Ask the agent to split people asking for a recommendation from businesses advertising.

## Ask it like this

- Search Facebook for 'meal prep delivery' and list the posts where someone asks for a recommendation. (`social.search`)
- Find Facebook posts about 'gym membership cancel' and summarise the complaints. (`social.search`)
- Search Facebook for our category, then read the pages of the businesses that posted. (`social.search`, `social.profile`)

## Connect

MCP server: `https://api.routergrowth.com/mcp`

```bash
claude mcp add --transport http routergrowth https://api.routergrowth.com/mcp
```

```bash
npm install -g routergrowth && routergrowth setup
routergrowth run -c social.search -i '{"platform": "facebook", "query": "meal prep delivery", "limit": 5}'
```

```bash
curl -X POST https://api.routergrowth.com/v1/run \
  -H "Authorization: Bearer $ROUTERGROWTH_API_KEY" \
  -d '{"capability": "social.search", "input": {"platform": "facebook", "query": "meal prep delivery", "limit": 5}}'
```

## Worth knowing

- **Groups show up.** Public group posts are part of the results, which is where many recommendation requests sit.
- **Engagement can be empty.** Search results came back without like counts in this run. Read a page's posts with social.posts for counts.
- **No location filter.** The input is the keyword and a limit. Put a city or a country in the keyword to focus results.

## Questions

### Do I need a Facebook account or cookies?

No. The call runs with your RouterGrowth key on RouterGrowth's providers.

### Does it read private groups or profiles?

No. Only public posts are returned.

### Can I scrape a specific page instead of a keyword?

Yes, with social.posts and the page URL as the handle.

### What does each result include?

The post link, text, author name, date and an engagement object, which may be empty on search results.

## Related

- [Read a Facebook page's posts from Python without a scraping package](https://www.routergrowth.com/tools/facebook/scraper-python.md)
- [Scrape a Facebook business page's profile: followers, category, website](https://www.routergrowth.com/tools/facebook/profile-scraper.md)
- [Scrape a Facebook page's posts with engagement, without a scraper](https://www.routergrowth.com/tools/facebook/posts-scraper.md)
