跳转到主要内容
GET
帖子评论
按 post_id 返回帖子的全部评论。 当前价格请查看费用说明;支持报价的接口可按实际请求获取报价。

请求规范

  • 方法与路径: GET /apis/v1/unipile/linkedin/posts/{post_id}/comments
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/unipile/linkedin/posts/{post_id}/comments
  • post_id: path; 必填
  • account_id: query; 必填
  • comment_id: query; 可选
  • cursor: query; 可选
  • limit: query; 可选
  • sort_by: query; 可选
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

公开参考价格:每次成功请求 $0.005 USD。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

post_id
string
必填

The ID of the associated post.
Linkedin: use the social_id from the post object (GET post or list posts). The post id visible in url will not work in all case, you can refer here for more details : https://developer.unipile.com/docs/posts-and-comments
Instagram: Need to use the provider_id. Short code cannot be used here (www.instagram.com/p/SHORTCODE)

查询参数

account_id
string
必填

The id of the account to perform the request from.

comment_id
string

The id of the comment to get replies from.
Linkedin: use the comment id returned by the comments list.

cursor
string

A cursor for pagination purposes. To get the next page of entries, you need to make a new request and fulfill this field with the cursor received in the preceding request. This process should be repeated until all entries have been retrieved.

Minimum string length: 1
limit
integer

A limit for the number of items returned in the response. The value can be set between 1 and 100.

必填范围: 1 <= x <= 100
示例:

100

sort_by
enum<string>

The sort method for the post comments. Default is MOST_RECENT.

可用选项:
MOST_RECENT,
MOST_RELEVANT

响应

OK. Request succeeded.

cursor
string
必填
items
object[]
必填
object
enum<string>
必填
可用选项:
CommentList
paging
object
必填
total_items
number
必填