SocialOAuth 2.0 — Client key + Client secretPricing verified 2026-10-06
TikTok
Publish videos through the TikTok Content Posting API.
AProvider definition
- Provider
- TikTok
- What it does
- Publish videos through the TikTok Content Posting API.
- Why we need it
- Publish videos through the TikTok Content Posting API.
- Used in
- Social (publish videos)
- Official site
- https://developers.tiktok.com/apps
BAccount requirements
- Account type
- TikTok for Developers account and app
- Prerequisites
- Verified domain for media pulled from URL (the uploads URL prefix below)
- Verification
- App review for the Content Posting API and a separate audit for public posting.
CConnection method
- Authentication
- OAuth 2.0 — Client key + Client secret
- Where to enter it
- Your workspace: App → Integrations → Providers & API keysWorkspace owner or admin. Keys added here are used only by your workspace (AI keys here don't use plan credits).
- Per brand: App → Integrations → Connected accountsAnyone who manages the brand. Each brand connects its own accounts.
Setup steps
- 1developers.tiktok.com → Manage apps → Create app; add Login Kit and Content Posting API (Direct Post).
- 2Add the Redirect URI below and verify the URL prefix below for PULL_FROM_URL.
- 3Request the scopes below and submit the app for review.
- 4After approval, apply for the Direct Post audit to allow public posts.
- 5Enter the client key and secret and connect accounts.
DPermissions & API scopes
| Scope / permission | Why it's needed | Requested by |
|---|---|---|
| user.info.basic | Identify the connected account. | TikTok connection |
| user.info.stats | Show follower and video counts. | TikTok connection |
| video.publish | Publish videos directly. | TikTok connection |
| video.upload | Upload drafts to the creator's inbox. | TikTok connection |
| video.list | List published videos for analytics. | TikTok connection |
This list is generated from the scopes the application's code requests.
EFree vs paid
- Free account / free API access
- Yes — no API fee.
- Card or billing account required?
- No.
- Paid plan / costs
- None.
- Quota and usage limits
- Per-user posting caps per 24 hours.
- Production restrictions
- Until the app passes TikTok's audit, every post is private (SELF_ONLY) and at most 5 users can post per 24 hours.
Checked against official/current sources on 2026-10-06. Provider pricing changes often — re-check before publishing.
FSetup screenshots
Capture each step with real values masked. Save images as public/docs/integrations/tiktok/1.png … 10.png and they appear here automatically.
- Screenshot to add1. Account login / creationThe provider's sign-in or sign-up page.
- Screenshot to add2. Developer consoleThe developer console or dashboard home.
- Screenshot to add3. Project / app creationCreating the app or project used for this integration.
- Screenshot to add4. API enablementThe API or product enabled for the project.
- Screenshot to add5. OAuth configurationConsent screen / OAuth settings with the redirect URIs.
- Screenshot to add6. API key / credentials creationCreating the key, secret or token (mask the value).
- Screenshot to add7. Permissions / scopesThe scopes or permissions requested or approved.
- Screenshot to add8. Billing / quota settingsBilling, credits or quota page.
- Screenshot to add9. Application connectionThe provider card in our application with fields filled (secrets masked).
- Screenshot to add10. Successful connectionThe green Test result or the connected account listed.
GApplication configuration
Never include real API keys, client secrets, access tokens or passwords in screenshots, tickets or documentation. Values below are field names and examples only.
| Field | Required | Example / default | Notes |
|---|---|---|---|
| Client key | Yes | — | |
| Client secret | Yes | •••••••• | Stored encrypted; shown masked after saving. |
Paste these into the provider's console
- Redirect URI
https://api.socialmati.com/api/oauth/tiktok/callback- Verified URL prefix (for PULL_FROM_URL)
https://api.socialmati.com/uploads/
HTesting
- 1Connect an account and publish a test video; before the audit it appears as private.
ITroubleshooting
| Problem | What to do |
|---|---|
| unaudited_client_can_only_post_to_private_accounts | Complete the Direct Post audit. |
| url_ownership_unverified | Verify the uploads URL prefix in the app's URL properties. |
| Invalid credentials | Check the Client ID/App ID and secret were copied from the same app, without spaces. Regenerate the secret if unsure. |
| Missing permissions | Reconnect and accept every permission on the consent screen. If a permission is missing from the list, add it to the app (and get it approved). |
| OAuth failure | Sign-in was cancelled, the app is in development/testing mode, or the user isn't allowed to use it yet. Add the user as a tester or publish the app. |
| Redirect URI mismatch | Copy the redirect URI from section G exactly — same https scheme, host and path, no trailing slash — into the provider's app settings. |
| API not enabled | Enable the API/product for the project or app in the provider console and wait a few minutes. |
| Quota exceeded | Wait for the quota window to reset (see section E) or request a higher quota / add credits. |
| Account not eligible | Check the account requirements in section B (e.g. business/professional account, verified property, registered organisation). |
| App review required | Permissions beyond development access need the provider's review before other accounts can connect. See section E for restrictions. |
| Billing required | Add a payment method or prepaid credits on the provider account (see section E). |
JDisconnect & security
- Revoke access at the provider
- TikTok app → Settings → Security → Manage app permissions → remove.
- Disconnect in the application
- App → Integrations → Providers & API keys or App → Integrations → Connected accounts → open the card → Remove / Disconnect. Connected accounts can be disconnected per brand.
- Rotate credentials
- Create the new key or secret first, paste it into the same card and Test, then delete the old one at the provider — no downtime.
- How credentials are stored
- Encrypted at rest with AES-256-GCM using the server's ENCRYPTION_KEY, shown masked after saving, never returned to the browser, and used only from the API server.
- What data the application can access
- Basic profile, stats and the videos you publish.
Other Social providers
Facebook / Meta
OAuth 2.0 (Facebook Login) — App ID + App secret
Setup guide Instagram
OAuth 2.0 through the Meta app (Facebook Login)
Setup guide Threads
OAuth 2.0 — Threads app ID + secret
Setup guide LinkedIn
OAuth 2.0 — Client ID + Client secret
Setup guide X (Twitter)
OAuth 2.0 with PKCE — Client ID + Client secret (+ app bearer token for listening)
Setup guide YouTube
OAuth 2.0 (Google) + optional API key
Setup guide 
