{ "name": "instagram-user-posts", "displayName": "Instagram 用户帖子列表", "description": "获取指定 Instagram 用户发布的帖子列表,包括图片、点赞数、评论数等。用于竞品内容策略分析、发帖频率和互动率评估。", "category": "social-media", "version": "1.0.0", "endpoint": { "method": "GET", "url": "https://server.fmode.cn/thapi/v1/instagram/v1/fetch_user_posts_v2", "headers": { "Authorization": "Bearer tKIbAsEM8X+GmE2vHqGW7D/ICwK1Q5V4viKFrWiPB6HholGdLFqZJmmyNw==", "Accept": "application/json" } }, "parameters": { "type": "object", "required": [ "user_id" ], "properties": { "user_id": { "type": "string", "description": "Instagram 用户数字 ID(pk),需先通过 instagram_user_info 或 instagram_search 接口获取" }, "count": { "type": "integer", "description": "每页帖子数量", "default": 12, "maximum": 50 }, "end_cursor": { "type": "string", "description": "分页游标,首次不传,后续传上次返回的 end_cursor" } } }, "requestTransform": { "queryParams": { "user_id": "{{user_id}}", "count": "{{count}}", "end_cursor": "{{end_cursor}}" } }, "response": { "type": "object", "description": "帖子列表", "properties": { "items": { "type": "array", "description": "帖子数组", "items": { "type": "object", "properties": { "id": { "type": "string", "description": "帖子 ID" }, "code": { "type": "string", "description": "帖子短码(URL 用)" }, "caption": { "type": "object", "properties": { "text": { "type": "string", "description": "帖子文案" } } }, "like_count": { "type": "integer", "description": "点赞数" }, "comment_count": { "type": "integer", "description": "评论数" }, "taken_at": { "type": "integer", "description": "发布时间戳" }, "media_type": { "type": "integer", "description": "媒体类型: 1=图片, 2=视频, 8=轮播" }, "image_versions2": { "type": "object", "description": "图片版本列表" }, "video_versions": { "type": "array", "description": "视频版本列表(仅视频帖子)" }, "view_count": { "type": "integer", "description": "视频观看次数(仅视频帖子)" } } } }, "has_more": { "type": "boolean", "description": "是否有更多帖子" }, "end_cursor": { "type": "string", "description": "下一页游标" } } }, "notes": "user_id 需先通过 instagram_user_info 接口获取 pk 字段。帖子的互动率可通过 (like_count + comment_count) / follower_count 计算。", "relatedSkills": [ "instagram_user_info", "instagram_search" ], "usageExamples": [ { "name": "获取品牌最近帖子", "input": { "user_id": "12345678", "count": 12 }, "description": "获取品牌最近 12 条帖子的互动数据,分析内容策略" } ], "reportMapping": { "slides": [ "竞品对标(Slide4)", "社媒聆听(Slide14)" ], "dataPoints": [ "帖子互动率", "发帖频率", "内容类型分布", "品牌视觉风格" ] }, "timeout": 15000, "retry": { "maxAttempts": 3, "delay": 1500, "backoffMultiplier": 2 } }