怎么调用 LowEndTalk 最新讨论 API?
latest_posts使用 platform="lowendtalk"、action="latest_posts" 调用“最新讨论”能力;返回列表,默认 20 条、单次最多 100 条,主要包含 id、url、title、text、text_html、posted_at 等 12 个字段。
这个能力没有业务参数,只传 platform 与 action。
LowEndTalk 返回字段与含义(6)
id- 编号:讨论编号(latest_posts、category_posts、post_detail),或回复编号(comments),一串数字。
text- 首帖全文(latest_posts、category_posts、post_detail)或回复全文(comments)的纯文本。
text_html- 同一段内容带格式的 HTML 原文,图片、链接都在里面。
category- 分类名,如 Offers;post_detail 有时没有这个字段。
rank- 这一行在这一次结果里的位置,从 1 开始(latest_posts、category_posts、comments)。
collected_at- 这条数据的抓取时刻(ISO 8601,UTC)。