获取Reddit APP帖子评论/Fetch Reddit APP Post Comments

Redditapi

About

获取Reddit APP帖子评论/Fetch Reddit APP Post Comments

Documentation

获取Reddit APP帖子评论/Fetch Reddit APP Post Comments

[中文]

用途:

  • 获取Reddit APP指定帖子下的评论

参数:

  • post_id: 帖子ID,格式如 "t3_XXXXXX"
  • sort_type: 排序方式,支持CONFIDENCE, NEW, TOP, HOT, CONTROVERSIAL, OLD, RANDOM
  • after: 分页参数,获取下一页时使用,在commentForest里的最后一个评论节点中可以找到,例如$.data.postInfoById.commentForest.trees[-1].more.cursor

返回:

  • 指定帖子下的评论JSON数据

注意:

  • APP接口的ID格式与Web接口不同,需要添加类型前缀
  • 帖子ID前缀: t3_ (例如: t3_1ojnvca)

[English]

Purpose:

  • Fetch comments under a specified Reddit APP post

Parameters:

  • post_id: Post ID, format like "t3_XXXXXX"
  • sort_type: Sort method, supports HOT, NEW, TOP, BEST, CONTROVERSIAL
  • after: Pagination parameter for fetching the next page, can be found in the last comment node in commentForest, e.g., $.data.postInfoById.commentForest.trees[-1].more.cursor

Returns:

  • JSON data of comments under the specified post

Note:

  • APP API ID format differs from Web API, requires type prefix
  • Post ID prefix: t3_ (e.g., t3_1ojnvca)

[示例/Example]

post_id="t3_1ojnvca" sort_type="CONFIDENCE" after="" need_format=false

Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.

Try 获取Reddit APP帖子评论/Fetch Reddit APP Post Comments

Test this model in the Sandbase Playground with your own prompts.

Open in Playground

Related Models