Technical overview

TikTok API Integration

DeepCodeVN uses TikTok Login Kit for authorization and TikTok Content Posting API for user-confirmed upload or publish actions. This page documents the expected integration model for TikTok Developer App Review.

Login Kit

OAuth Login Flow

The user starts the flow from the DeepCodeVN dashboard and is redirected to TikTok for OAuth authorization. After TikTok returns the authorization response, DeepCodeVN validates the callback and stores only the token data required to operate the connected-account workflow.

The application never asks the user to enter a TikTok password into DeepCodeVN systems.

Permissions

Requested Scopes

DeepCodeVN requests only scopes required for the creator workflow and TikTok-approved app configuration.

ScopePurposeWorkflow Use
user.info.basicIdentify the connected TikTok accountDisplay the account that will receive uploads or publishing requests
video.uploadUpload video as draftPrepare creator content before final posting decisions
video.publishPublish after confirmationSubmit a post only after the user confirms
user.info.profileOptional profile contextShow profile details when needed for account verification
user.info.statsOptional account stats contextSupport creator dashboard status if approved and necessary
Content Posting API

Content Posting Flow

The user uploads or selects a video, adds a caption and settings, previews the prepared post, and chooses whether to keep it as a draft or submit it to TikTok. The Content Posting API is called only for the user-selected content and only for the requested operation.

Security

Data Protection

Access tokens are handled securely on the server side and are used only for the connected user's requested workflow. User content and publishing records are retained only as needed to provide the workflow, maintain operational history, troubleshoot errors, or comply with legal and security requirements.

DeepCodeVN does not sell user data and does not use TikTok API data for unrelated advertising.

Reliability

Error Handling

DeepCodeVN displays upload, authorization, and publishing errors in the dashboard so users understand whether a draft remains local, requires reconnection, or needs retry. Failed publish attempts are not silently repeated as completed actions.

Platform limits

Rate Limit Handling

The workflow is designed to respect TikTok API rate limits and platform responses. If rate limits or temporary API restrictions occur, DeepCodeVN reports the issue to the user and asks them to retry later rather than bypassing platform controls.

Audit

Audit / Logging

DeepCodeVN may record operational logs such as upload status, confirmation timestamp, connected-account reference, API error category, and publishing status. These logs support troubleshooting, user support, security review, and evidence that the user confirmed the action.

Final gate

Manual Confirmation Before Posting

The final publishing step is always manual. The user sees the prepared post and clicks confirm. publishing without user confirmation without user consent is not part of the DeepCodeVN workflow.

User action required before publishing: Yes. publishing without user confirmation without user consent: No. User can revoke or disconnect: Yes.