跳转到主要内容
POST
Post Reaction
给已有帖子添加点赞回应。写操作:回应公开可见。post_id 要传帖子的 social_id(取自「帖子详情」或「用户帖子」的返回),LinkedIn 帖子 URL 里的 id 不一定能解析。 当前价格请查看费用说明;支持报价的接口可按实际请求获取报价。

请求规范

  • 方法与路径: POST /apis/v1/unipile/linkedin/posts/reaction/send
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/unipile/linkedin/posts/reaction/send
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

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

授权

Authorization
string
header
必填

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

请求体

application/json
account_id
string
必填

The id of the account to perform the request from.

Minimum string length: 1
post_id
string
必填

The id of the post to send a reaction to.
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 Please use the provider_id

Minimum string length: 1
as_organization
string

Linkedin only Provide the ID of an organization over which you have control to perform the action on its behalf.

Minimum string length: 1
comment_id
string

The id of the comment to send a reaction to. Linkedin: use the comment id returned by the comments list.

Minimum string length: 1
reaction_type
enum<string>

The type of reaction to send. If not provided, it defaults to 'like'.
Instagram: The only supported reaction type is 'like'.

可用选项:
like,
celebrate,
support,
love,
insightful,
funny

响应

Created. Reaction added successfully.

object
enum<string>
必填
可用选项:
ReactionAdded