
Research
/Security News
DuckDB npm Account Compromised in Continuing Supply Chain Attack
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
@yaring/n8n-nodes-tiktok
Advanced tools
TikTok API integration for n8n - upload videos, get analytics and manage content
This n8n community node provides comprehensive integration with TikTok API, supporting video management, user analytics, and content publishing with proper OAuth2 authentication.
TikTok is the 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.
n8n is a fair-code licensed workflow automation platform.
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
TikTok API uses client_key
instead of the standard client_id
parameter. This node includes a custom OAuth2 implementation to handle TikTok's specific requirements.
Create a TikTok for Developers account: Visit TikTok for Developers
Register your app:
Configure OAuth settings:
http://localhost:5678/rest/oauth2-credential/callback
for local n8n)Set up credentials in n8n:
Default scopes include:
user.info.basic
- Basic user informationuser.info.profile
- Extended user profileuser.info.stats
- User statisticsvideo.list
- List user videosvideo.upload
- Upload videosvideo.publish
- Publish videosIf OAuth2 flow doesn't work, you can manually set tokens:
{
"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
We found that @yaring/n8n-nodes-tiktok 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.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.