| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- {
- "name": "tiktok-video-comments",
- "displayName": "TikTok 视频评论查询",
- "description": "获取指定 TikTok 视频的用户评论列表,用于社媒用户情感分析、需求挖掘、红人互动率计算。",
- "category": "social-media",
- "version": "1.0.0",
- "endpoint": {
- "method": "GET",
- "url": "https://server.fmode.cn/thapi/v1/tiktok/app/v3/fetch_video_comments",
- "headers": {
- "Authorization": "Bearer tKIbAsEM8X+GmE2vHqGW7D/ICwK1Q5V4viKFrWiPB6HholGdLFqZJmmyNw==",
- "Accept": "application/json"
- }
- },
- "parameters": {
- "type": "object",
- "required": [
- "aweme_id"
- ],
- "properties": {
- "aweme_id": {
- "type": "string",
- "description": "TikTok 视频唯一 ID"
- },
- "count": {
- "type": "integer",
- "description": "每页评论数量",
- "default": 20,
- "maximum": 50
- },
- "cursor": {
- "type": "integer",
- "description": "分页游标,首次不传或传 0",
- "default": 0
- }
- }
- },
- "requestTransform": {
- "queryParams": {
- "aweme_id": "{{aweme_id}}",
- "count": "{{count}}",
- "cursor": "{{cursor}}"
- }
- },
- "response": {
- "type": "object",
- "description": "评论列表",
- "properties": {
- "comments": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "cid": {
- "type": "string",
- "description": "评论 ID"
- },
- "text": {
- "type": "string",
- "description": "评论内容"
- },
- "digg_count": {
- "type": "integer",
- "description": "评论点赞数"
- },
- "reply_comment_total": {
- "type": "integer",
- "description": "回复数"
- },
- "create_time": {
- "type": "integer",
- "description": "评论时间戳"
- },
- "user": {
- "type": "object",
- "properties": {
- "nickname": {
- "type": "string",
- "description": "评论者昵称"
- },
- "unique_id": {
- "type": "string",
- "description": "评论者用户名"
- }
- }
- }
- }
- }
- },
- "has_more": {
- "type": "boolean",
- "description": "是否有更多评论"
- },
- "cursor": {
- "type": "integer",
- "description": "下一页游标"
- },
- "total": {
- "type": "integer",
- "description": "评论总数"
- }
- }
- },
- "usageExamples": [
- {
- "name": "获取视频评论",
- "input": {
- "aweme_id": "7300000000000000000",
- "count": 20
- },
- "description": "获取视频前 20 条评论用于 AI 情感分析"
- }
- ],
- "reportMapping": {
- "slides": [
- "社媒聆听(Slide14)"
- ],
- "dataPoints": [
- "视频评论内容",
- "用户情感倾向",
- "需求关键词提取"
- ]
- },
- "timeout": 15000,
- "retry": {
- "maxAttempts": 3,
- "delay": 1500,
- "backoffMultiplier": 2
- }
- }
|