TikTok
Read TikTok user content and run bounded Content Posting workflows through the TikTok for Developers API.
认证方式
| 方式 | 底层类型 | 状态 | 说明 |
|---|---|---|---|
| OAuth 2.0 (TikTok user access) | oauth2 | available | — |
| User Access Token | api_key | available | — |
调用示例
import { createClient } from "@open-connector/sdk";const oc = createClient({ baseUrl: "https://api.openconnector.dev", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({ slug: "TIKTOK_FETCH_PUBLISH_STATUS", connectedAccountId: "conn_...", arguments: { /* match this tool's input schema */ },});import Composio from "@composio/client";const composio = new Composio({ baseURL: "https://api.openconnector.dev/composio", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("TIKTOK_FETCH_PUBLISH_STATUS", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute TIKTOK_FETCH_PUBLISH_STATUS --data '{ }'Tool 目录
可用 Tools
9 个可调用操作
Fetch Publish StatusTIKTOK_FETCH_PUBLISH_STATUSChecks the processing status of a TikTok video or photo post by publish_id.需要连接2 scopes
Checks the processing status of a TikTok video or photo post by publish_id.
认证
需要 Connected AccountScopes
video.publishvideo.uploadTags
Get User StatsTIKTOK_GET_USER_STATSFetches profile and statistics for the authenticated TikTok user.需要连接1 scope
Fetches profile and statistics for the authenticated TikTok user.
认证
需要 Connected AccountScopes
user.info.basicTags
List VideosTIKTOK_LIST_VIDEOSLists recent public videos for the authenticated TikTok user.需要连接1 scope
Lists recent public videos for the authenticated TikTok user.
认证
需要 Connected AccountScopes
video.listTags
Post PhotoTIKTOK_POST_PHOTOCreates a TikTok photo post from one to 35 HTTPS image URLs.需要连接2 scopes
Creates a TikTok photo post from one to 35 HTTPS image URLs.
认证
需要 Connected AccountScopes
video.publishvideo.uploadTags
Publish VideoTIKTOK_PUBLISH_VIDEOPublishes a video by asking TikTok to pull it from a verified HTTPS URL.需要连接1 scope
Publishes a video by asking TikTok to pull it from a verified HTTPS URL.
认证
需要 Connected AccountScopes
video.publishTags
Query Creator InfoTIKTOK_QUERY_CREATOR_INFOReads the authenticated creator's current Content Posting settings.需要连接1 scope
Reads the authenticated creator's current Content Posting settings.
认证
需要 Connected AccountScopes
video.publishTags
Query VideosTIKTOK_QUERY_VIDEOSQueries metadata for selected videos owned by the authenticated user.需要连接1 scope
Queries metadata for selected videos owned by the authenticated user.
认证
需要 Connected AccountScopes
video.listTags
Upload VideoTIKTOK_UPLOAD_VIDEODownloads one bounded video from an HTTPS URL, initializes a TikTok inbox upload, and sends it in provider-compliant chunks.需要连接1 scope
Downloads one bounded video from an HTTPS URL, initializes a TikTok inbox upload, and sends it in provider-compliant chunks.
认证
需要 Connected AccountScopes
video.uploadTags
Upload Videos (batch)TIKTOK_UPLOAD_VIDEOSUploads up to ten bounded video URLs to TikTok with bounded concurrency and per-item results.需要连接1 scope
Uploads up to ten bounded video URLs to TikTok with bounded concurrency and per-item results.
认证
需要 Connected AccountScopes
video.uploadTags