Skip to content

Add facebook column for keyword/URL mention monitoring - #12

Closed
aaronjmars wants to merge 3 commits into
mainfrom
facebook-mentions-column
Closed

aaronjmars wants to merge 3 commits into
mainfrom
facebook-mentions-column

Conversation

@aaronjmars

Copy link
Copy Markdown
Collaborator

Summary

  • New facebook column type that surfaces public Facebook posts/pages mentioning a keyword or URL.
  • Backed by Grok web_search with a site:facebook.com filter — no extra credential beyond XAI_API_KEY (the same one web-search and news-search already use). Graph API has no public mention search and anonymous scraping is aggressively blocked, so this was the easiest no-extra-key path.
  • Three plugin files + 3 registration lines (manifest / registry / server-registry); npm run build passes the parity check and TypeScript.

Test plan

  • Add the column from the picker — capability note should mention XAI_API_KEY.
  • Run a query (keyword e.g. "claude code" and a URL e.g. anthropic.com) and confirm results are facebook.com URLs rendered via LinkItem with the blue Facebook badge.
  • Empty query → column renders without throwing; results may be sparse but should not error.
  • Without XAI_API_KEY set, the API route returns a clear error.

Notes

  • lucide-react v1.11.0 in this repo has no Facebook icon, so the plugin uses ThumbsUp (the iconic FB-like glyph). Easy swap to Share2 / Users2 if preferred.

🤖 Generated with Claude Code

aaronjmars and others added 3 commits April 30, 2026 15:41
New plugin wraps Algolia HN Search with URL detection (restricted to the
url field), comment-vs-story scope, and date-vs-relevance sort — kept
separate from the existing hacker-news plugin so its ConfigForm stays
focused on front-page/Ask/Show/keyword browsing.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
New plugin separate from `github` (feed-style). Searches GitHub for
mentions across repositories, issues/PRs, code, or commits with one
swappable scope. URL queries are auto-quoted for exact matching.
GITHUB_TOKEN is optional (60→5000 req/hr; required only for code search).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Piggybacks on Grok web_search with a site:facebook.com filter so users
who already have XAI_API_KEY don't need a new credential. Facebook's
Graph API has no public mention search and anonymous scraping is
aggressively blocked.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
aaronjmars added a commit that referenced this pull request Apr 30, 2026
Consolidates the 15 stacked column-type PRs into a single merge:
instagram, rednote, hacker-news-search, github-search, tiktok,
weibo-search, substack, linkedin, facebook, github-backlinks,
wallet-tx, github-prs, telegram-search, app-reviews, github-watchers.

The 3 registry files (manifest, client registry, server registry) are
rewritten to register all new plugins; lib/integrations/github.ts
combines the additive sections from #7, #15, #18; hackernews.ts and
xai.ts pick up the appends from #6 and #12. Build + lint pass.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@aaronjmars

Copy link
Copy Markdown
Collaborator Author

Superseded by #19, which consolidates all 15 stacked column plugin PRs into one merge.

@aaronjmars aaronjmars closed this Apr 30, 2026
@aaronjmars
aaronjmars deleted the facebook-mentions-column branch April 30, 2026 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant