fb-commenter
What It Does
Section titled “What It Does”You wrote a post in a Facebook group and people commented on it. This tool reads all the comments, writes five slightly different friendly private messages (so they do not all look identical), and sends a private message to every single person who commented. It saves you from typing the same thing to fifty people one at a time.
When To Use
Section titled “When To Use”- Running a campaign on a group post — sweepstakes, webinar signups, offer launches, lead magnets.
- When comment volume is too high to DM manually and you want AI variety across the DMs so Facebook does not flag them as spam.
How To Install And Invoke
Section titled “How To Install And Invoke”- Go to
chrome://extensions, enable Developer Mode. - Click “Load unpacked” and select
~/apps/fb-commenter/extension/. - Click the extension popup. Paste the post URL and your offer link.
- Click “Generate with AI” or manually configure the DM template and variations.
- The content script auto-runs on
facebook.comandmessenger.comwhen you trigger a send.
Prerequisites
Section titled “Prerequisites”| Requirement | Where |
|---|---|
| Local Python server for AI generation | localhost:7890 — wraps claude -p (Max plan, no API cost) |
| Chrome with Developer Mode | |
| Manifest permissions granted | activeTab, storage, scripting, tabs; host: *.facebook.com, m.facebook.com, localhost:7890 |
No hardcoded credentials. All config is stored in chrome.storage.local and preset-config.json.
Where It Lives
Section titled “Where It Lives”- Repo:
~/apps/fb-commenter/ - Entry files:
extension/manifest.json,popup.html,popup.js,background.js,content.js,preset-config.json,options.html - Local server: must be running at
localhost:7890for AI generation.
Known Gaps / Quirks
Section titled “Known Gaps / Quirks”- Critical bug (open since March 6, 2026): double-send DMs. Builds 81 through 99 were tested against a stale cached service worker; Build 99 has not been verified post-cache-clear. Current build is 179 but the root cause is still investigation-pending.
- Service worker cache gotcha: documented in the repo CLAUDE.md — clear the cache before trusting a build number.