engagement-analysis
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseEngagement Analysis
互动分析
Overview
概述
Measure how a specific post performed and what the audience said. Two moves: pull the stats, and pull the comments. Use for auth and endpoint details.
socialkit-api衡量特定帖子的表现以及受众反馈。可分为两个步骤:获取统计数据和获取评论。使用 了解身份验证和端点详情。
socialkit-apiPer-Video Stats
单个视频的统计信息
| Source | Endpoint / MCP tool | Returns |
|---|---|---|
| YouTube | | views, likes, comments, duration, channel |
| TikTok | | views, likes, comments, shares, collects |
| likes, views, comments, author | |
| views, reactions breakdown, shares | |
| X/Twitter (single) | | tweet detail |
| LinkedIn (single) | | post detail |
| 来源 | 端点 / MCP 工具 | 返回结果 |
|---|---|---|
| YouTube | | 观看次数、点赞数、评论数、时长、频道 |
| TikTok | | 观看次数、点赞数、评论数、分享数、收藏数 |
| 点赞数、观看次数、评论数、作者 | |
| 观看次数、反应分类、分享数 | |
| X/Twitter(单条) | | 推文详情 |
| LinkedIn(单条) | | 帖子详情 |
Comments
评论
| Source | Endpoint / MCP tool | Params |
|---|---|---|
| YouTube | | |
| TikTok | | |
| | |
| |
Comment fields vary by platform. Preserve missing counts as unknown, including null Instagram views/shares. Instagram comments expose collectionStatus and stopReason; hasMore=false alone does not establish completeness.
| 来源 | 端点 / MCP 工具 | 参数 |
|---|---|---|
| YouTube | | |
| TikTok | | |
| | |
| |
各平台的评论字段有所不同。缺失的计数应保留为未知,包括值为 null 的 Instagram 观看次数和分享次数。Instagram 评论会公开 collectionStatus 和 stopReason;仅凭 hasMore=false 无法确定数据是否完整。
Workflow
工作流
- For "how did this do", call the stats endpoint for the video URL.
- For "what did people say", call the comments endpoint. Set ; use a returned cursor only where supported and cap the pages fetched.
limit - To analyze sentiment, pull a bounded sample of returned comments, then summarize themes and tone yourself. State the sample size and collection limits; a popularity-ranked sample is not representative of the entire audience.
- To compare many videos, use the bulk stats or bulk comments routes rather than looping.
- 对于“表现如何”之类的问题,调用视频 URL 对应的统计端点。
- 对于“大家说了什么”,调用评论端点。设置 ;仅在受支持时使用返回的
limit,并限制获取的页面数。cursor - 要分析情感倾向,请拉取数量受限的评论样本,然后自行总结主题和语气。说明样本量和采集限制;按热度排序的样本不能代表全部受众。
- 要比较多个视频,使用批量统计或批量评论端点,而不是循环调用。
Examples
示例
bash
export SOCIALKIT_API_KEY="YOUR_SOCIALKIT_ACCESS_KEY"bash
export SOCIALKIT_API_KEY="YOUR_SOCIALKIT_ACCESS_KEY"Stats
统计数据
curl -s "https://api.socialkit.dev/tiktok/stats?url=https://www.tiktok.com/@user/video/7370790114802322694"
-H "x-access-key: $SOCIALKIT_API_KEY"
-H "x-access-key: $SOCIALKIT_API_KEY"
curl -s "https://api.socialkit.dev/tiktok/stats?url=https://www.tiktok.com/@user/video/7370790114802322694"
-H "x-access-key: $SOCIALKIT_API_KEY"
-H "x-access-key: $SOCIALKIT_API_KEY"
Top comments
热门评论
curl -s "https://api.socialkit.dev/youtube/comments?url=https://youtube.com/watch?v=dQw4w9WgXcQ&limit=50"
-H "x-access-key: $SOCIALKIT_API_KEY"
-H "x-access-key: $SOCIALKIT_API_KEY"
undefinedcurl -s "https://api.socialkit.dev/youtube/comments?url=https://youtube.com/watch?v=dQw4w9WgXcQ&limit=50"
-H "x-access-key: $SOCIALKIT_API_KEY"
-H "x-access-key: $SOCIALKIT_API_KEY"
undefinedBulk
批量操作
Bulk stats: , , . Bulk comments: , . All take a array by .
/youtube/stats/bulk/tiktok/stats/bulk/instagram/stats/bulk/youtube/comments/bulk/tiktok/comments/bulkurlsPOST批量统计:、、。批量评论:、。所有端点均通过 接收 数组。
/youtube/stats/bulk/tiktok/stats/bulk/instagram/stats/bulk/youtube/comments/bulk/tiktok/comments/bulkPOSTurlsCommon Pitfalls
常见陷阱
- Stats and comments need a single post URL, not a profile URL.
- YouTube comments have no cursor input. Other supported comment endpoints may expose a cursor; stop when absent/repeated or the page budget is reached. A collected sample is not the full discussion.
- Like counts and view counts are point-in-time. Note when the user needs a trend rather than a snapshot.
- Sentiment is your analysis of the returned comments, not a field the API returns.
- 统计和评论接口需要提供单个帖子的 URL,而不是个人资料页 URL。
- YouTube 评论不支持 cursor 输入。其他受支持的评论端点可能会公开 cursor;当 cursor 缺失或重复,或者已达到页面数量上限时停止采集。采集到的样本并不代表完整讨论。
- 点赞数和观看次数是时间点数据。如果用户需要趋势而非快照,应明确说明。
- 情感倾向是对返回评论进行分析得出的结果,并非 API 直接返回的字段。
Output Standards
输出标准
- Lead with the headline numbers, then the comment themes.
- When claiming sentiment, back it with a few quoted, high-engagement comments.
- Keep the post URL and any IDs for follow-up.
Use only public supported content. Do not route posting, private-account access, login bypass, or unrelated website scraping here. See for authentication, endpoint-specific pagination, failure handling, and credits. Preserve unknown metrics and scope conclusions to the collected sample.
socialkit-apiUse / for a public author self-reply chain, / for full native X Articles, and REST for a public Reddit submission. These do not imply Reddit comment collection or arbitrary website extraction.
/twitter/threadtwitter_thread/twitter/articletwitter_article/reddit/post- 先呈现核心数据,再介绍评论主题。
- 对情感倾向作出判断时,应引用几条互动量较高的评论作为依据。
- 保留帖子 URL 和所有 ID,以便后续操作。
仅使用公开且受支持的内容。不要使用此功能进行发帖、访问私有账号、绕过登录或抓取无关网站。有关身份验证、端点专属分页、失败处理和 credits 的详细信息,请参阅 。保留未知指标,并将结论限定在已采集样本范围内。
socialkit-api对于公开作者的自回复链,使用 / ;对于完整的原生 X Articles,使用 / ;对于公开的 Reddit 帖子,使用 REST 。这些端点不表示支持 Reddit 评论采集或任意网站内容提取。
/twitter/threadtwitter_thread/twitter/articletwitter_article/reddit/post