Explore our Marketplace to buy and sell APIs, services, and social media solutions. Connect with a vibrant community of developers, businesses, and creators!
buffer 游标翻页),返回文章的一页精选评论。buffer 留空 → 取响应的 buffer → 下次请求传回 buffer 取下一页;has_more 为 false 即到末页。fetch_comment_replies(传评论的 content_id)。https://mp.weixin.qq.com/s/…)。示例 https://mp.weixin.qq.com/s/TSNQKkRpN1qbKsT7BvzqIwbuffer。raw=false(精简视图):#data 外层为本页汇总,comments[] 为精简评论:$.data.appmsgid: 图文消息 id$.data.elected_total: 精选评论总数$.data.total_count: 评论总数$.data.buffer: 下一页游标(翻页回传 buffer;末页为空串)$.data.has_more: 是否还有下一页$.data.comment_id: 文章评论标识(内部用)$.data.comments[N].content_id: 评论 id(喂 fetch_comment_replies 的 content_id)$.data.comments[N].nick_name: 评论者昵称$.data.comments[N].content: 评论内容$.data.comments[N].like_num: 点赞数$.data.comments[N].create_time: 评论时间戳$.data.comments[N].ip_wording: IP 归属地(province_name / city_name 等)$.data.comments[N].is_elected / is_top: 是否精选 / 置顶$.data.comments[N].reply_total: 二级回复总数$.data.comments[N].replies[]: 二级回复预览(精简,见 fetch_comment_replies)raw=true(原始):#data 外层同上(appmsgid / elected_total / total_count / buffer / has_more / comment_id),comments[] 为完整原始评论对象,字段更全(snake_case):$.data.comments[N].content_id: 评论 id(同精简模式,仍是喂 fetch_comment_replies 的值)$.data.comments[N].content / nick_name / like_num / create_time / ip_wording / is_elected / is_top: 与 raw=false 同名同义$.data.comments[N].id(楼层序号)/ openid / identity_type / logo_url(头像)/ like_status / is_from_me / $.data.comments[N].reply_new(含 reply_total_cnt / reply_list,对应精简模式的 reply_total / replies)buffer cursor pagination); returns one page of featured comments.buffer empty for the first page → take buffer from the response → pass it back in the next request; has_more false means the last page.fetch_comment_replies (pass the comment's content_id).https://mp.weixin.qq.com/s/…). E.g. https://mp.weixin.qq.com/s/TSNQKkRpN1qbKsT7BvzqIwbuffer from the previous response for the next page.raw=false (simplified view):#data outer level is the page summary; comments[] are simplified comments:$.data.appmsgid: message id$.data.elected_total: total featured comments$.data.total_count: total comments$.data.buffer: next-page cursor (pass back as buffer; empty string at the last page)$.data.has_more: whether there is a next page$.data.comment_id: article comment identifier (internal)$.data.comments[N].content_id: comment id (feed into content_id of fetch_comment_replies)$.data.comments[N].nick_name: commenter nickname$.data.comments[N].content: comment content$.data.comments[N].like_num: like count$.data.comments[N].create_time: comment timestamp$.data.comments[N].ip_wording: IP region (province_name / city_name etc.)$.data.comments[N].is_elected / is_top: featured / pinned flags$.data.comments[N].reply_total: total second-level replies$.data.comments[N].replies[]: reply preview (simplified, see fetch_comment_replies)raw=true (raw):#data outer level same as above (appmsgid / elected_total / total_count / buffer / has_more / comment_id); comments[] are full raw comment objects with more fields (snake_case):$.data.comments[N].content_id: comment id (same as simplified mode, still the value fed into fetch_comment_replies)$.data.comments[N].content / nick_name / like_num / create_time / ip_wording / is_elected / is_top: same names and meanings as raw=false$.data.comments[N].id (floor number) / openid / identity_type / logo_url (avatar) / like_status / is_from_me / $.data.comments[N].reply_new (with reply_total_cnt / reply_list, corresponding to reply_total / replies of the simplified mode)Authorization: Bearer ********************curl --location 'https://api.tikhub.io/api/v1/wechat_mp/v2/fetch_article_comments' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"url": "https://mp.weixin.qq.com/s/TSNQKkRpN1qbKsT7BvzqIw",
"buffer": "string",
"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
}