批量获取Reddit帖子详情(最多5条)/Fetch Reddit Post Details in Batch (Max 5)

Redditapi

About

批量获取Reddit帖子详情(最多5条)/Fetch Reddit Post Details in Batch (Max 5)

Documentation

批量获取Reddit帖子详情(最多5条)/Fetch Reddit Post Details in Batch (Max 5)

[中文]

用途:

  • 根据帖子ID列表批量获取帖子详情
  • 支持最多5条帖子的批量查询
  • 可选择性包含特定评论的上下文

参数:

  • post_ids: 帖子ID列表,逗号分隔,格式如 "t3_XXXXXX,t3_YYYYYY",最多支持5条
  • include_comment_id: 是否包含特定评论ID,默认False
  • comment_id: 评论ID(当include_comment_id为True时使用),格式如 "t1_XXXXXX"

返回:

  • 包含帖子详细信息的数据,包括:
    • 帖子内容、标题、作者
    • 统计数据(点赞数、评论数等)
    • 版块信息
    • 奖励信息
    • 媒体资源
    • 推荐原因等

注意:

  • 最多支持5条帖子的批量查询
  • 超过5条将返回错误
  • APP接口的ID格式与Web接口不同,需要添加类型前缀
  • 帖子ID前缀: t3_ (例如: t3_1ojnh50)
  • 评论ID前缀: t1_ (例如: t1_abcd123)

[English]

Purpose:

  • Fetch post details in batch by post ID list
  • Support batch query for up to 5 posts
  • Optionally include context for specific comments

Parameters:

  • post_ids: Post IDs comma-separated, format like "t3_XXXXXX,t3_YYYYYY", max 5 posts
  • include_comment_id: Whether to include specific comment ID, default False
  • comment_id: Comment ID (used when include_comment_id is True), format like "t1_XXXXXX"

Returns:

  • Data containing detailed post information including:
    • Post content, title, author
    • Statistics (upvotes, comment count, etc.)
    • Subreddit information
    • Award information
    • Media resources
    • Recommendation reasons, etc.

Notes:

  • Maximum 5 posts per batch query
  • Error will be returned if exceeds 5 posts
  • APP API ID format differs from Web API, requires type prefix
  • Post ID prefix: t3_ (e.g., t3_1ojnh50)
  • Comment ID prefix: t1_ (e.g., t1_abcd123)

[示例/Example]

post_ids="t3_1ojnh50,t3_1ok432f,t3_1nwil8j" include_comment_id=false comment_id="" need_format=false

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

Try 批量获取Reddit帖子详情(最多5条)/Fetch Reddit Post Details in Batch (Max 5)

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

Open in Playground

Related Models