最真实的客户反馈,就藏在你的帖子、竞品的帖子以及你的广告自然副本下面的评论里,可没人会去读 4,000 条。Lovely Router 替你读取。发送公开帖子或 Reels 的链接,就能拿到每条评论一个 JSON 对象,按评论条数从预付费余额中计费。用一个 API 密钥,就能从脚本、报告任务或 AI 智能体中调用。
交给你的 AI 智能体
把这段提示词复制到 Claude Code、Cursor、Codex 或任何编程智能体中。它会告诉智能体文档在哪里,以及如何使用你的 API 密钥。
挖掘 Facebook 帖子评论中的客户问题与情绪. Use the Lovely Router data tools: each returns JSON and is billed per result.
- Docs (read first): https://lovelyrouter.com/docs/tools/find.md and https://lovelyrouter.com/docs/tools/run.md
- Plan first: POST https://lovelyrouter.com/v1/tools/suggest with `{"task": "<my task in plain words>"}` (free). It returns the tools to run in order, each with an example `input`, the `input_required` fields, an estimated cost and a ready-made `run` request. Replace the example values with my task's; if a field is unclear, read the tool with GET https://lovelyrouter.com/v1/tools/<id>. To browse instead, POST https://lovelyrouter.com/v1/tools/discover searches the catalog.
- Show me the plan and its estimated cost (`total_est_cost_usd`) before running anything large.
- Run: POST https://lovelyrouter.com/v1/tools/<id>/run with `{"input": {...}, "max_results": N}`. A 200 has the finished run with `items`; a 202 means it is still running, so poll the `poll` path until `status` is `succeeded`, `failed`, `timed_out` or `stopped`.
- Only delivered results are billed. Keep max_results small on the first run, check the output, then scale up.
- If you support MCP, connect https://lovelyrouter.com/mcp instead (Streamable HTTP, same key; https://lovelyrouter.com/docs/tools/mcp.md) and use suggest_tools, get_tool and run_tool.
- Auth: read my API key from the LOVELY_API_KEY environment variable and send it as `Authorization: Bearer $LOVELY_API_KEY`. Never print or commit the key. If it is not set, ask me to create one at https://lovelyrouter.com/app/keys.
- Billing is prepaid: every call is charged to my balance, so test with a small request before running anything large.
- Every docs page is plain Markdown; the full index is https://lovelyrouter.com/llms.txt.
My task: <the inputs (links, keywords or accounts) and how many results you need>工作原理
收集帖子链接
复制每个你想读取的公开帖子、视频或 Reels 的链接:新品发布公告、投诉讨论串、对手的爆款帖子。
设置上限后运行工具
把链接放进
startUrls,连同resultsLimit和max_results一起发送。运行会从你的余额中预留它的最高费用,并以 JSON 返回评论。分类并采取行动
用模型按主题给评论分组:需要回答的问题、需要转交的投诉、可以引用的好评。
一次请求获取 Facebook 评论
列出 Facebook 评论在 startUrls 中接受公开的帖子、视频、Reels、照片或小组帖子链接。resultsLimit 限制每个帖子的评论数:
curl https://lovelyrouter.com/v1/tools/facebook-comments/run \
-H "Authorization: Bearer $LOVELY_API_KEY" \
-H "content-type: application/json" \
-d '{
"input": {
"startUrls": [
{
"url": "https://www.facebook.com/humansofnewyork/posts/pfbid0BbKbkisExKGSKuhee9a7i86RwRuMKFC8NSkKStB7CsM3uXJuAAfZLrkcJMXxhH4Yl"
}
],
"resultsLimit": 3
},
"max_results": 3
}'添加 includeNestedComments 可以同时读取回复;每条回复各占一行,并计入上限。onlyCommentsNewerThan 会丢弃较早的评论,这些评论不会计费。运行超过 60 秒仍未结束时会返回 202;轮询方法见运行工具。
每条评论包含什么
| 字段组 | 你会得到什么 |
|---|---|
| 评论 | 帖子下的每条评论一行 |
| 回复 | 开启 includeNestedComments 后,回复各占一行 |
| 排序 | 按热度或按最新,用 viewOption 设置 |
这个工具的说明刻意写得很简短:它返回你指定的那个帖子的评论。先把 resultsLimit 设为 3 做一次小规模测试,看看返回的行,再放大规模。
实用配方
拉取一个新品发布帖的评论,让模型提取所有问题,把清单交给客服,或补充到你的常见问题中。
读取一条坏消息帖子下的最新评论(把 viewOption 设为 RECENT_ACTIVITY),并把它们分成退款、缺陷和物流几类。
每天对同一个帖子运行,并把 onlyCommentsNewerThan 设为 1d,这样你只需为最近一天的评论付费。
读取对手热门帖子下的评论,记录买家的需求中有哪些是对手没有回应的。
筛选同时提到产品和效果的评论,让模型把它们排序,作为你网站上可用的引言;使用前请先确认已获得授权。
更想直接用自然语言提问?连接 MCP 服务器,然后对 Claude Code 或 Cursor 说:"读取 posts.txt 中 5 个帖子链接下各自最新的 200 条评论,把它们分成问题、抱怨和好评,并列出最常见的五个问题。把 max_results 设为 1000。"
搭配其他反馈来源
Facebook 评论只是人们所说内容的一部分。可以与下列来源对照:
按 URL 获取公开 Facebook 帖子或 Reels 的评论。
公开 Facebook 主页的帖子:内容、表情回应、评论与分享数、媒体。
按 URL 获取 Instagram 帖子或 Reels 的评论。
YouTube 视频或 Shorts 的评论:内容、点赞、回复数、作者、日期。按热门或最新排序。
按 URL 获取 TikTok 视频的评论。
facebook-posts列出主页的帖子,方便你挑选要读取评论的帖子。instagram-comments读取 Instagram 帖子下的评论。youtube-comments读取视频下的评论。tiktok-comments读取 TikTok 视频下的评论。
更广泛的任务请看社交聆听。评论中可能包含私人用户的姓名:你有责任依法使用这些数据,包括遵守隐私规定。
费用说明
按评论付费:启动运行时会预留它的最高费用,即每次调用费加上每条评论费用乘以 max_results,结束后按实际返回的结果结算,预留的剩余部分退回你的余额。失败或超时的运行只为已交付的评论付费,在开始时就被拒绝的运行不收费。
每天读取 500 条评论,就按每天 500 条评论计费。没有订阅,也没有每月最低消费:最低充值 $5,工具和模型共用一个余额。上方卡片显示的是当前价格;价格页面列出了所有工具。
常见问题
能获取评论的回复吗?+
可以。把 includeNestedComments 设为 true。每条回复各占一行返回,并计入你的上限。
能只获取新评论吗?+
可以。把 onlyCommentsNewerThan 设为一个日期、7d 这样的时间跨度,或 yesterday。较早的评论会被丢弃,不会计费。
能用于私密小组或个人主页吗?+
该工具适用于公开的帖子、视频、Reels、照片和小组帖子链接。
如何让测试保持低成本?+
把 resultsLimit 设为较小的数字,例如 3,并把 max_results 设成一致。你按评论条数付费。
需要订阅吗?+
不需要。你向预付费余额充值,每次运行从中扣费。失败的运行只为已交付的评论付费,不会自动续费。