获取单个Reddit帖子详情/Fetch Single Reddit Post Details

Redditapi

About

获取单个Reddit帖子详情/Fetch Single Reddit Post Details

Documentation

获取单个Reddit帖子详情/Fetch Single Reddit Post Details

[中文]

用途:

  • 根据帖子ID获取单个帖子详情
  • 可选择性包含特定评论的上下文

参数:

  • post_id: 帖子ID,格式如 "t3_XXXXXX"
  • include_comment_id: 是否包含特定评论ID,默认False
  • comment_id: 评论ID(当include_comment_id为True时使用),格式如 "t1_XXXXXX"

返回:

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

注意:

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

[English]

Purpose:

  • Fetch single post details by post ID
  • Optionally include context for specific comments

Parameters:

  • post_id: Post ID, format like "t3_XXXXXX"
  • 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.

Note:

  • 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_id="t3_1ojnh50" include_comment_id=false comment_id="" need_format=false

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

Try 获取单个Reddit帖子详情/Fetch Single Reddit Post Details

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

Open in Playground

Related Models