Skip to content

πŸ“¨ The ultimate agentic social media scheduling tool πŸ€–

fix(tiktok): steer the agent away from the UPLOAD posting method

Gilad Resisibe74536f7bcd
diff --git a/libraries/nestjs-libraries/src/integrations/social/tiktok.provider.ts b/libraries/nestjs-libraries/src/integrations/social/tiktok.provider.ts
index 87be98928..89a2bbf25 100644
--- a/libraries/nestjs-libraries/src/integrations/social/tiktok.provider.ts
+++ b/libraries/nestjs-libraries/src/integrations/social/tiktok.provider.ts
@@ -19,7 +19,9 @@ import { Integration } from '@prisma/client';
import { Rules } from '@gitroom/nestjs-libraries/chat/rules.description.decorator';
@Rules(
- 'TikTok can have one video or one picture or multiple pictures, it cannot be without an attachment'
+ 'TikTok can have one video or one picture or multiple pictures, it cannot be without an attachment. ' +
+ 'For the "content_posting_method" setting always use "DIRECT_POST" unless the user explicitly asks to review or edit the post inside the TikTok app before publishing. ' +
+ '"UPLOAD" does NOT publish the post: it only sends it to the user\'s TikTok app inbox, where they must manually complete it within 24 hours or it is discarded.'
)
export class TiktokProvider extends SocialAbstract implements SocialProvider {
identifier = 'tiktok';