开始前需要一个已授权、状态正常的 Instagram social_account_id。本页不包含账号授权跳转流程。

1. 发布 Instagram 帖子

cURL
type 可按实际内容使用 POSTREELSTORY。素材地址必须能被平台服务直接访问。
创建响应
保存 social_post_id。后续接口把它作为 post_id 使用;不要传 action_sn

2. 查询帖子状态

cURL
帖子详情可能包含 idplatformstatustitletextdescriptionpost_typethumbnailpermalinkextralast_synced_atpublished_at。轮询到 publishedfaileddeleted 后停止。

3. 创建评论

cURL
回复已有评论时可额外传 parent_comment_id;普通评论不要传。
创建评论响应

4. 查询评论

cURL
查询响应会返回 comment_idexternal_idstatuspublished_aterror_messagepublished 表示评论已发布,failed 时应展示 error_message,不要无限重复创建相同评论。
提示 示例中的账号、帖子、评论 ID 和素材域名都是演示值。实际调用必须使用当前应用可访问的资源。