Tiktok automation

From Zidong-LLC/BIBLIOTECA · View interactive version

Tiktok automation is an AI agent skill from the GitHub repository Zidong-LLC/BIBLIOTECA. Automate TikTok tasks via Rube MCP (Composio): upload/publish videos, post photos, manage content, and view user profiles/stats. Always search tools first for current schemas.

How to use this skill

Skill file

TikTok Automation via Rube MCP

Automate TikTok content creation and profile operations through Composio's TikTok toolkit via Rube MCP.

Prerequisites

Setup

Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.

  1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
  2. Call RUBE_MANAGE_CONNECTIONS with toolkit tiktok
  3. If connection is not ACTIVE, follow the returned auth link to complete TikTok OAuth
  4. Confirm connection status shows ACTIVE before running any workflows

Core Workflows

1. Upload and Publish a Video

When to use: User wants to upload a video and publish it to TikTok

Tool sequence:

  1. TIKTOK_UPLOAD_VIDEO or TIKTOK_UPLOAD_VIDEOS - Upload video file(s) [Required]
  2. TIKTOK_FETCH_PUBLISH_STATUS - Check upload/processing status [Required]
  3. TIKTOK_PUBLISH_VIDEO - Publish the uploaded video [Required]

Key parameters for upload:

Key parameters for publish:

Pitfalls:

2. Post a Photo

When to use: User wants to post a photo to TikTok

Tool sequence:

  1. TIKTOK_POST_PHOTO - Upload and post a photo [Required]
  2. TIKTOK_FETCH_PUBLISH_STATUS - Check processing status [Optional]

Key parameters:

Pitfalls:

3. List and Manage Videos

When to use: User wants to view their published videos

Tool sequence:

  1. TIKTOK_LIST_VIDEOS - List user's published videos [Required]

Key parameters:

Pitfalls:

4. View User Profile and Stats

When to use: User wants to check their TikTok profile info or account statistics

Tool sequence:

  1. TIKTOK_GET_USER_PROFILE - Get full profile information [Required]
  2. TIKTOK_GET_USER_STATS - Get account statistics [Optional]
  3. TIKTOK_GET_USER_BASIC_INFO - Get basic user info [Alternative]

Key parameters: (no required parameters; returns data for authenticated user)

Pitfalls:

5. Check Publish Status

When to use: User wants to check the status of a content upload or publish operation

Tool sequence:

  1. TIKTOK_FETCH_PUBLISH_STATUS - Poll for status updates [Required]

Key parameters:

Pitfalls:

Common Patterns

Video Publish Flow

1. Upload video via TIKTOK_UPLOAD_VIDEO -> get publish_id
2. Poll TIKTOK_FETCH_PUBLISH_STATUS with publish_id until complete
3. If status is ready, call TIKTOK_PUBLISH_VIDEO with final settings
4. Optionally poll status again to confirm publication

Pagination

Known Pitfalls

Content Requirements:

Authentication:

Rate Limits:

Response Parsing:

Quick Reference

| Task | Tool Slug | Key Params |

|------|-----------|------------|

| Upload video | TIKTOK_UPLOAD_VIDEO | video, title |

| Upload multiple videos | TIKTOK_UPLOAD_VIDEOS | videos |

| Publish video | TIKTOK_PUBLISH_VIDEO | publish_id, title, privacy_level |

| Post photo | TIKTOK_POST_PHOTO | photo, title, privacy_level |

| List videos | TIKTOK_LIST_VIDEOS | max_count, cursor |

| Get profile | TIKTOK_GET_USER_PROFILE | (none) |

| Get user stats | TIKTOK_GET_USER_STATS | (none) |

| Get basic info | TIKTOK_GET_USER_BASIC_INFO | (none) |

| Check publish status | TIKTOK_FETCH_PUBLISH_STATUS | publish_id |

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.