获取用户被标记的帖子/Get user tagged posts

Instagramapi

About

获取用户被标记的帖子/Get user tagged posts

Documentation

获取用户被标记的帖子/Get user tagged posts

[中文]

用途:

  • 获取Instagram用户被标记(tagged)的帖子列表
  • 即其他用户在帖子中标记了该用户的内容
  • 支持分页获取

参数:

  • username: Instagram用户名(必填)
  • first: 向后翻页时每页数量(默认12,最大50)
  • after: 向后翻页游标,从上一次响应的 data.page_info.end_cursor 获取
  • before: 向前翻页游标,从上一次响应的 data.page_info.start_cursor 获取
  • last: 向前翻页时每页数量,配合 before 使用
  • count: 首次请求数量(默认12)

返回:

  • data.edges: 帖子列表
    • node.id: 帖子ID
    • node.code: 帖子短代码
    • node.display_url: 展示图片URL
    • node.taken_at: 发布时间戳
    • node.like_count: 点赞数
    • node.comment_count: 评论数
    • node.caption.text: 帖子文本
    • node.user: 发帖者信息
  • data.page_info: 分页信息
    • has_next_page: 是否有下一页
    • end_cursor: 下一页游标(传给下次请求的after参数)

分页使用方法:

  1. 首次请求:只传 usernamefirst 参数
  2. 获取响应中的 data.page_info.end_cursor
  3. 下次请求:传入 usernamefirstafter (使用上次的end_cursor)
  4. 重复步骤 2-3 直到 data.page_info.has_next_page 为 false

价格:

  • 0.008 USD/请求

[English]

Purpose:

  • Get Instagram user's tagged posts list
  • Posts where other users tagged this user
  • Support pagination

Parameters:

  • username: Instagram username (required)
  • first: Posts per page for forward pagination (default 12, max 50)
  • after: Forward pagination cursor, from previous response data.page_info.end_cursor
  • before: Backward pagination cursor, from previous response data.page_info.start_cursor
  • last: Posts per page for backward pagination, use with before
  • count: Number of posts for first request (default 12)

Return:

  • data.edges: Post list
    • node.id: Post ID
    • node.code: Post shortcode
    • node.display_url: Display image URL
    • node.taken_at: Published timestamp
    • node.like_count: Likes count
    • node.comment_count: Comments count
    • node.caption.text: Post caption text
    • node.user: Post author info
  • data.page_info: Pagination info
    • has_next_page: Whether has next page
    • end_cursor: Next page cursor (use as after parameter in next request)

Pagination usage:

  1. First request: Only pass username and first parameters
  2. Get data.page_info.end_cursor from response
  3. Next request: Pass username, first, and after (use end_cursor from previous)
  4. Repeat steps 2-3 until data.page_info.has_next_page is false

Price:

  • 0.008 USD/request

示例/Example

username = "instagram" first = 12

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

Try 获取用户被标记的帖子/Get user tagged posts

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

Open in Playground

Related Models