POSTING SUITE

Integration Walkthrough

TikTok OAuth + Upload API Walkthrough

This page shows live OAuth consent, connected account status, and official TikTok Content Posting API flows for both Upload Inbox and Direct Post.

OAuth Config JSON

Readiness

OAuth Config

Client Key-
Client Secret-
Redirect URI-
Default Scopes-

Backend Session Workers

Session Health Worker-
Browser Pool-
TikTok Accounts Found0

This page runs on the backend directly so your team can validate OAuth and uploads without opening the full Hive UI.

Step 1: Connect TikTok Account (OAuth)

Preferred path for TikTok Content Posting API. This captures OAuth tokens for Upload API usage.

OAuth Session

State-
Statusidle
Result-
Last Error-
{}

Step 2: Review Connected TikTok Accounts

ID Username Status Proxy OAuth Scope Token Expiry OpenID
No TikTok accounts loaded yet.

Step 3: Publish Flow

Recommended flow: use Upload API inbox and let creators finish the post in TikTok, including sound selection.

Direct Post uses the same official Content Posting API, but publishes directly to the creator profile once `video.publish` is approved.

Fallback option: manual export renders final assets and a publish checklist so your team can post manually when needed.

Bundled production demo clip path: /app/server-tiktok-hive/review-demo/demo-assets/review-upload-sample.mp4

Run Output

Last actionidle
Run dir-
TikTok post mode-
{}

After the publish request finishes, TikTok may take a few minutes to process the content and make it visible on the TikTok profile.

Walkthrough Notes

Suggested demo sequence

  1. Show this page URL and readiness panel (client key/secret + redirect URI configured).
  2. Click Start TikTok OAuth, complete consent in popup, return to this page.
  3. Show the newly connected TikTok account in the accounts table with scopes.
  4. Run Direct Post or Upload to TikTok Inbox with a sample MP4 path.
  5. Show successful publish/upload result and explain whether the creator finishes in TikTok or the post publishes directly.

If live sandbox consent is blocked, click Start Review Mockup and then Run Mockup Upload to demonstrate the same reviewer path with explicit mockup labels.

Why this flow is production-friendly

  • Explicit user consent via TikTok OAuth (PKCE).
  • Uses official Content Posting API scopes (`video.upload` and `video.publish`).
  • Supports both creator-controlled inbox flow and direct publish flow.
  • Matches the app domain/backend where the integration actually runs.

Rotate the client secret if it was ever exposed outside your local environment.

Step 6: Processing / Status