Package Information
Released: 13 mo ago
Downloads: 1 weekly / 22 monthly
Latest Version: 1.0.2
Documentation
N8N Tools - TikTok Enhanced
A comprehensive TikTok API integration node for N8N workflows, providing access to all major TikTok features including Videos, Users, Hashtags, Music, and Analytics.
Features
🎥 Videos Management
- Get user videos and video information
- Manage video comments and likes
- Upload videos with custom settings
- Access video analytics and insights
👤 Users Management
- Get user information and profiles
- Manage followers and following
- Search for users
- Access user analytics
#️⃣ Hashtags Management
- Get hashtag information and videos
- Search hashtags
- Access trending hashtags
- Analyze hashtag performance
🎵 Music Management
- Get music information and videos
- Search music
- Access trending music
- Analyze music performance
📊 Analytics & Insights
- User analytics and metrics
- Video performance analytics
- Hashtag and music analytics
- Trending content analysis
Installation
- Install the package:
npm install n8n-nodes-n8ntools-tiktok-enhanced
- Add the node to your N8N instance:
- Go to Settings > Community Nodes
- Click "Install a community node"
- Enter:
n8n-nodes-n8ntools-tiktok-enhanced
Configuration
Credentials
The node supports two types of credentials:
OAuth2 API (Recommended)
- Client Key: Your TikTok App Client Key
- Client Secret: Your TikTok App Client Secret
- Access Token: OAuth2 Access Token
- Scope: Required permissions (comma-separated)
API Key
- Access Token: TikTok API Access Token
- Client Key: Your TikTok App Client Key
- Client Secret: Your TikTok App Client Secret
Required Permissions
For full functionality, ensure your TikTok App has the following permissions:
user.info.basic- Basic user informationvideo.list- List user videosvideo.publish- Publish videosvideo.comment- Comment on videosuser.follow- Follow/unfollow usershashtag.info- Get hashtag informationmusic.info- Get music information
Usage Examples
Get User Videos
{
"resource": "videos",
"operation": "getUserVideos",
"openId": "user-open-id"
}
Upload a Video
{
"resource": "videos",
"operation": "uploadVideo",
"videoUrl": "https://example.com/video.mp4",
"videoTitle": "My TikTok Video",
"videoDescription": "Check out this amazing video!",
"privacyLevel": "PUBLIC_TO_EVERYONE"
}
Get Hashtag Analytics
{
"resource": "analytics",
"operation": "getHashtagAnalytics",
"hashtag": "fyp",
"startDate": "2024-01-01",
"endDate": "2024-01-31"
}
Search Trending Music
{
"resource": "music",
"operation": "getTrendingMusic",
"count": 20
}
Resources and Operations
Videos
getUserVideos- Get user videosgetVideoInfo- Get video informationgetVideoComments- Get video commentscreateComment- Create a commentgetVideoLikes- Get video likeslikeVideo- Like a videounlikeVideo- Unlike a videoshareVideo- Share a videouploadVideo- Upload a videogetVideoAnalytics- Get video analytics
Users
getUserInfo- Get user informationgetCurrentUserInfo- Get current user infogetUserFollowers- Get user followersgetUserFollowing- Get user followingfollowUser- Follow a userunfollowUser- Unfollow a usergetUserLikedVideos- Get user liked videossearchUsers- Search for users
Hashtags
getHashtagInfo- Get hashtag informationgetHashtagVideos- Get hashtag videossearchHashtags- Search hashtagsgetTrendingHashtags- Get trending hashtags
Music
getMusicInfo- Get music informationgetMusicVideos- Get music videossearchMusic- Search musicgetTrendingMusic- Get trending music
Analytics
getUserAnalytics- Get user analyticsgetVideoAnalytics- Get video analyticsgetHashtagAnalytics- Get hashtag analyticsgetMusicAnalytics- Get music analyticsgetTrendingContent- Get trending contentgetContentInsights- Get content insights
Error Handling
The node includes comprehensive error handling:
- API rate limiting (429 errors)
- Authentication errors (401/403)
- Invalid parameters (400 errors)
- Network connectivity issues
- TikTok API specific errors
Rate Limits
TikTok API has rate limits that vary by endpoint:
- User Access Tokens: 1000 calls per hour
- App Access Tokens: 2000 calls per hour
- Video Upload: 10 uploads per hour per user
Support
For issues, feature requests, or contributions:
- GitHub: n8n-nodes-n8ntools-tiktok-enhanced
- Documentation: TikTok for Developers
License
MIT License - see LICENSE file for details.
Changelog
1.0.0
- Initial release
- Complete TikTok API integration
- Support for Videos, Users, Hashtags, Music, and Analytics operations
- OAuth2 and API Key authentication
- Comprehensive error handling
- Full TypeScript support