Explore our Marketplace to buy and sell APIs, services, and social media solutions. Connect with a vibrant community of developers, businesses, and creators!
fetch_article_comments 取到每条评论的 content_id,再把它喂给本接口。https://mp.weixin.qq.com/s/…)。示例 http://mp.weixin.qq.com/s?__biz=Mzk3NTA0MzM5NA==&mid=2247483745&idx=1&sn=3f34e768cf457a501038991ed30be1f4#rdcontent_id,取自 fetch_article_comments 响应的 $.data.comments[N].content_id;不传则自动取第一条有回复的评论。示例 12109128638545265979has_more=true 时传上次返回的 next_offset 取下一页。all_pages=true 时忽略本参数。offset,一次取全部回复(响应不含 offset / next_offset / has_more 翻页字段)。注意:本接口 raw=true与raw=false的外层结构一致,差异仅在replies[]每个元素的字段粒度(精简视图 vs 完整原始对象)。
raw=false(精简回复):#$.data.content_id: 目标评论 id(回显)$.data.parent_nick: 父评论(被回复者)昵称$.data.reply_total: 二级回复总数$.data.count: 本次返回的回复条数$.data.replies[N].reply_id: 回复 id$.data.replies[N].nick_name: 回复者昵称$.data.replies[N].content: 回复内容$.data.replies[N].create_time: 回复时间戳$.data.replies[N].ip_wording: IP 归属地$.data.replies[N].identity_name: 身份标识$.data.replies[N].from_ai / reply_is_elected: 是否 AI 回复 / 是否精选all_pages=false)含翻页: $.data.offset / $.data.next_offset / $.data.has_moreraw=true(原始):#content_id / parent_nick / reply_total / count(及单页模式的 offset / next_offset / has_more)与 raw=false 完全一致;差异仅在 replies[] 元素为完整原始回复对象(含 raw=false 投影掉的字段)。常用路径仍为 $.data.replies[N].content / $.data.replies[N].reply_id / $.data.replies[N].nick_name。fetch_article_comments to get each comment's content_id, then feed it into this endpoint.https://mp.weixin.qq.com/s/…). E.g. http://mp.weixin.qq.com/s?__biz=Mzk3NTA0MzM5NA==&mid=2247483745&idx=1&sn=3f34e768cf457a501038991ed30be1f4#rdcontent_id of the target first-level comment, from $.data.comments[N].content_id of the fetch_article_comments response; defaults to the first comment that has replies when omitted. E.g. 12109128638545265979next_offset from the previous response when has_more=true. Ignored when all_pages=true.offset and fetches all replies at once (the response omits the offset / next_offset / has_more pagination fields).Note: the outer structure is identical for raw=trueandraw=false; the difference is only in the field granularity of eachreplies[]element (simplified view vs full raw object).
raw=false (simplified replies):#$.data.content_id: target comment id (echo)$.data.parent_nick: nickname of the parent comment (the one replied to)$.data.reply_total: total second-level replies$.data.count: number of replies returned this time$.data.replies[N].reply_id: reply id$.data.replies[N].nick_name: replier nickname$.data.replies[N].content: reply content$.data.replies[N].create_time: reply timestamp$.data.replies[N].ip_wording: IP region$.data.replies[N].identity_name: identity label$.data.replies[N].from_ai / reply_is_elected: AI reply / featured flagsall_pages=false): $.data.offset / $.data.next_offset / $.data.has_moreraw=true (raw):#content_id / parent_nick / reply_total / count (and offset / next_offset / has_more in single-page mode) are identical to raw=false; the only difference is that replies[] elements are full raw reply objects (including fields projected away in raw=false). Common paths remain $.data.replies[N].content / $.data.replies[N].reply_id / $.data.replies[N].nick_name.Authorization: Bearer ********************curl --location 'https://api.tikhub.io/api/v1/wechat_mp/v2/fetch_comment_replies' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"url": "http://mp.weixin.qq.com/s?__biz=Mzk3NTA0MzM5NA==&mid=2247483745&idx=1&sn=3f34e768cf457a501038991ed30be1f4#rd",
"content_id": "string",
"offset": 0,
"all_pages": false,
"raw": true
}'{
"code": 200,
"request_id": "string",
"message": "Request successful. This request will incur a charge.",
"message_zh": "请求成功,本次请求将被计费。",
"support": "Discord: https://discord.gg/aMEAS8Xsvz",
"time": "string",
"time_stamp": 0,
"time_zone": "America/Los_Angeles",
"docs": "string",
"cache_message": "string",
"cache_message_zh": "string",
"cache_url": "string",
"router": "",
"params": {},
"data": null
}