
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
@yaring/n8n-nodes-tiktok-v1
Advanced tools
TikTok API integration for n8n - upload videos, get analytics and manage content
This is an n8n community node that integrates with the TikTok API. It allows you to automate tasks such as uploading videos, retrieving user statistics, and accessing detailed video analytics directly within your n8n workflows.
TikTok is a leading short-form video hosting service with over 1 billion monthly active users worldwide. This node provides comprehensive access to TikTok's Content Posting API, Display API, and user information endpoints, enabling powerful automation capabilities for TikTok creators and businesses.
This n8n node supports the following operations across various TikTok API resources:
This node uses a direct token input method with robust automatic token refresh capabilities, simplifying the authentication process for n8n users.
To configure this node, you need the following information from your TikTok Developer account:
The node is designed to handle token expiration seamlessly:
Access Token
is found to be expired or invalid (e.g., HTTP 401/403 errors or specific TikTok API error codes like 10002/10003), the node automatically attempts to refresh it.Refresh Token
and your Client Key
and Client Secret
to request a new Access Token
from TikTok's OAuth endpoint (/v2/oauth/token/
).Access Token
is used for the original API request, which is then retried. This process is transparent to the user, ensuring uninterrupted workflow execution.To ensure full functionality of all operations, your TikTok application must be authorized with the following scopes:
user.info.basic
user.info.profile
user.info.stats
video.list
video.upload
video.publish
This comprehensive approach to authentication ensures that your n8n workflows can reliably interact with the TikTok API without frequent manual intervention.
Follow the installation guide in the n8n community nodes documentation.
You can install this node via the n8n community package manager:
npm install n8n-nodes-tiktok
{
"resource": "video",
"operation": "upload",
"videoUrl": "https://example.com/my-video.mp4",
"uploadType": "inbox",
"title": "My Amazing Video",
"description": "Check out this cool video! #trending #viral",
"privacy": "PUBLIC_TO_EVERYONE"
}
{
"resource": "user",
"operation": "getStats",
"statsFields": ["follower_count", "following_count", "likes_count", "video_count"]
}
{
"resource": "analytics",
"operation": "getVideoAnalytics",
"videoIds": ["7034682002927550598", "7035783003928561699"],
"analyticsFields": ["id", "title", "view_count", "like_count", "comment_count", "share_count"]
}
For pull URL uploads, you must verify domain ownership with TikTok by:
To use Direct Post functionality:
PROCESSING_UPLOAD
to PUBLISH_COMPLETE
For issues related to:
Contributions are welcome! Please read our contributing guidelines and submit pull requests to the GitHub repository.
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
TikTok API integration for n8n - upload videos, get analytics and manage content
The npm package @yaring/n8n-nodes-tiktok-v1 receives a total of 0 weekly downloads. As such, @yaring/n8n-nodes-tiktok-v1 popularity was classified as not popular.
We found that @yaring/n8n-nodes-tiktok-v1 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.