Connect TikTok account
The user starts TikTok Login Kit authorization from this website. The OAuth flow uses the TikTok sandbox environment during review.
TikTok sandbox integration
This demo page shows where Ruikun AI integrates TikTok Login Kit and the Content Posting API. It is designed for sandbox app review and demonstrates user consent, account connection, AI news video generation, creator review, and creator-approved direct publishing.
user.info.basic identifies the connected TikTok account.video.publish directly publishes a creator-approved video to the user's own TikTok account.The user starts TikTok Login Kit authorization from this website. The OAuth flow uses the TikTok sandbox environment during review.
After authorization, the app displays the connected TikTok account and confirms the minimum scope used for account identification.
user.info.basic
The workflow creates a short AI news video draft from public technology news. The generated script, caption, and video remain unpublished until the creator approves them.
Only after review, the creator clicks Confirm Publish. The app then uses TikTok's official Content Posting API for creator-approved direct publishing.
POST https://open.tiktokapis.com/v2/post/publish/video/init/
scope: video.publish
privacy_level: SELF_ONLY
source: PULL_FROM_URL
video_url: https://videos.ruikun-ai.com/sample.mp4
User protection