|
|
@@ -1,9 +1,9 @@
|
|
|
-{
|
|
|
+{
|
|
|
"name": "tiktok-brand-voc",
|
|
|
"displayName": "TikTok品牌VOC采集",
|
|
|
"description": "搜索竞品品牌TikTok账号,采集发布内容和用户评论,分析品牌社媒策略",
|
|
|
"category": "social-voc",
|
|
|
- "version": "1.0.0",
|
|
|
+ "version": "1.2.0",
|
|
|
"type": "orchestration",
|
|
|
"parameters": {
|
|
|
"brandNames": {
|
|
|
@@ -38,7 +38,7 @@
|
|
|
"forEach": "brandNames",
|
|
|
"api": {
|
|
|
"skill": "social-media/tiktok-user-search",
|
|
|
- "endpoint": "https://server.fmode.cn/thapi/v1/tiktok/web/fetch_search_user",
|
|
|
+ "endpoint": "https://server.fmode.cn/api/social/tiktok/web/fetch_search_user",
|
|
|
"method": "GET",
|
|
|
"headers": { "Authorization": "Bearer ${TIKHUB_TOKEN}" },
|
|
|
"queryParams": { "keyword": "${brandName}", "count": 5, "cursor": 0 }
|
|
|
@@ -53,7 +53,7 @@
|
|
|
"forEach": "brandAccounts.topMatch",
|
|
|
"api": {
|
|
|
"skill": "social-media/tiktok-user-profile",
|
|
|
- "endpoint": "https://server.fmode.cn/thapi/v1/tiktok/app/v3/handler_user_profile",
|
|
|
+ "endpoint": "https://server.fmode.cn/api/social/tiktok/app/v3/handler_user_profile",
|
|
|
"method": "GET",
|
|
|
"headers": { "Authorization": "Bearer ${TIKHUB_TOKEN}" },
|
|
|
"queryParams": { "unique_id": "${account.unique_id}" }
|
|
|
@@ -67,7 +67,7 @@
|
|
|
"forEach": "brandAccounts.topMatch",
|
|
|
"api": {
|
|
|
"skill": "social-media/tiktok-user-posts",
|
|
|
- "endpoint": "https://server.fmode.cn/thapi/v1/tiktok/app/v3/fetch_user_post_videos",
|
|
|
+ "endpoint": "https://server.fmode.cn/api/social/tiktok/app/v3/fetch_user_post_videos",
|
|
|
"method": "GET",
|
|
|
"headers": { "Authorization": "Bearer ${TIKHUB_TOKEN}" },
|
|
|
"queryParams": { "unique_id": "${account.unique_id}", "count": "${postsPerBrand}", "cursor": 0 }
|
|
|
@@ -82,7 +82,7 @@
|
|
|
"forEach": "brandPosts → 按(digg_count+comment_count)降序取top5",
|
|
|
"api": {
|
|
|
"skill": "social-media/tiktok-video-comments",
|
|
|
- "endpoint": "https://server.fmode.cn/thapi/v1/tiktok/app/v3/fetch_video_comments",
|
|
|
+ "endpoint": "https://server.fmode.cn/api/social/tiktok/app/v3/fetch_video_comments",
|
|
|
"method": "GET",
|
|
|
"headers": { "Authorization": "Bearer ${TIKHUB_TOKEN}" },
|
|
|
"queryParams": { "aweme_id": "${post.aweme_id}", "count": "${commentsPerPost}", "cursor": 0 }
|