# RateRight Facebook Hunt — Australian Construction Pages

**Source:** Rocky's list of 237 Facebook pages/groups targeting construction workers and contractors across Australia.
**Purpose:** Primary source for `/hunt facebook-workers` and `/hunt facebook-jobs` skills.

---

## Strategy (from vault: Facebook-Strategy.md)

> Meta killed the Groups API April 2024. **No third-party tool can auto-publish to Facebook Groups via API.** Scraping public posts for lead extraction is the viable approach. Messaging-as-you remains manual-only (CAPTCHA + ban risk).

**What works:** Scrape public posts → extract name + contact + job details → log to CRM → you send the first message manually.

**What doesn't work:** Auto-sending from your account. Don't try it.

---

## Browser automation approach

From VPS terminal (tested 2026-05-09):
```
browser_navigate(url="https://www.facebook.com")
```

- Public pages accessible without login
- Login required for groups + profile views
- Credentials (if needed) stored in `/root/.hermes/.env` — **NOT in vault**
- Session cookies can be captured post-login for future sessions

**Workflow:**
1. Navigate to target page/group
2. Screenshot → vision AI extracts text
3. Parse into: name, location, job type, contact method, post date
4. Upsert to CRM contact registry
5. Output a daily digest of new contacts found

---

## Page categories to scrape

| Category | Search terms | Intent |
|---|---|---|
| **Workers seeking work** | "construction workers wanted", "trades needed", "labour hire" | Find job posters who are already hiring → pitch them |
| **Workers offering services** | "looking for work", "tradie available", "carpenter available" | Direct recruit — contact them directly |
| **Job seekers** | "seeking construction work", "formwork labourer" | Pipeline for worker supply |
| **Regional groups** | NSW/QLD/VIC/WA construction specific | Local leads, faster response |

---

## States to cover

- NSW (Sydney, Newcastle, Wollongong, regional)
- VIC (Melbourne, Geelong, regional)
- QLD (Brisbane, Gold Coast, regional)
- WA (Perth, regional)
- SA (Adelaide, regional)
- ACT
- TAS
- NT

---

## PM2 hunt integration

New skills write to the same CRM (`hunt-leads` table) as the existing Gumtree/Seek scrapers. The outreach skill then picks up all sources uniformly.

```
hunt-facebook-workers  → contacts where source='facebook-workers'
hunt-facebook-jobs    → contacts where source='facebook-jobs'
```

---

## Risks & mitigations

| Risk | Mitigation |
|---|---|
| Account ban from automated scraping | Public pages only; no login unless Rocky's credentials provided |
| Rate limiting | Sleep 3-5s between page navigations |
| Stale page list | Rocky's 237-page list is the source of truth; re-validate quarterly |
| Facebook detecting CDP automation | Use stealth mode; residential proxies if available |