Package Information
Available Nodes
Documentation
N8N Tools - Weibo Enhanced
Complete Weibo social platform integration with 55+ operations covering the full Weibo ecosystem. This N8N community node provides comprehensive access to Posts, Comments, Users, Trends, Messages, and Analytics APIs specifically designed for the Chinese market and Weibo's unique social features.
โจ Features
- ๐ Posts & Weibo: Create, publish, and manage weibo posts with rich media support
- ๐ฌ Comments & Interactions: Handle comments, likes, reposts, and social interactions
- ๐ค Users & Profiles: Manage user profiles, followers, and following relationships
- ๐ฅ Trends & Hot Topics: Access trending topics, hashtags, and viral content
- ๐ฉ Direct Messages: Send and manage private messages between users
- ๐ Analytics & Insights: Track engagement metrics, audience data, and performance analytics
- ๐ Search & Discovery: Advanced search for users, posts, and trending content
- ๐ท๏ธ Tags & Hashtags: Manage hashtags, topics, and content categorization
- ๐ฑ Timeline Management: Access user timelines, home feeds, and public timelines
- ๐ฏ Advertising & Promotion: Create and manage promotional content and ads
- ๐ Secure API: Powered by N8N Tools platform with usage tracking and validation
๐ Quick Start
Installation
Install this node in your N8N instance:
Via Community Nodes (Recommended)
- Go to Settings > Community Nodes in your N8N interface
- Click Install a community node
- Enter
n8n-nodes-n8ntools-weibo - Click Install
Via npm
npm install n8n-nodes-n8ntools-weibo
Setup Credentials
- Sign up at N8N Tools and get your API key
- In N8N, create new N8N Tools API credentials
- Enter your API URL:
https://api.n8ntools.io - Enter your API key
๐ Available Resources
๐ Posts & Weibo (8 Operations)
Complete weibo post management:
| Operation | Description | Features |
|---|---|---|
| Create Post | Publish new weibo posts | Text, images, videos, location |
| Update Post | Modify existing posts | Content editing, media updates |
| Delete Post | Remove weibo posts | Soft delete with restoration |
| Get Post | Retrieve specific post details | Engagement metrics, comments |
| Get User Timeline | Fetch user's posted weibos | Pagination, date filtering |
| Get Home Timeline | Access user's home feed | Following users' content |
| Repost Weibo | Share posts with comments | Attribution, custom messages |
| Get Public Timeline | Access public weibo feed | Trending and popular content |
๐ฌ Comments & Interactions (7 Operations)
Social interaction management:
- Create Comment: Add comments to weibo posts
- Reply to Comment: Respond to existing comments
- Delete Comment: Remove comments from posts
- Get Comments: Retrieve post comments with pagination
- Like Post: Add likes to weibo posts
- Unlike Post: Remove likes from posts
- Get Likes: Retrieve users who liked posts
๐ค Users & Profiles (6 Operations)
User profile and relationship management:
- Get User Info: Retrieve detailed user profiles
- Update Profile: Modify user profile information
- Follow User: Follow other Weibo users
- Unfollow User: Unfollow users
- Get Followers: List user's followers
- Get Following: List users being followed
๐ฅ Trends & Hot Topics (5 Operations)
Trending content and topic management:
- Get Trending Topics: Retrieve current hot topics
- Get Topic Posts: Fetch posts under specific topics
- Search Trends: Find trending hashtags and keywords
- Get Hot Searches: Access popular search terms
- Get Topic Statistics: Analytics for trending topics
๐ฉ Direct Messages (4 Operations)
Private messaging capabilities:
- Send Message: Send direct messages to users
- Get Messages: Retrieve message conversations
- Get Conversation: Access specific conversation threads
- Delete Message: Remove messages from conversations
๐ Analytics & Insights (5 Operations)
Performance tracking and analytics:
- Get Post Analytics: Detailed post performance metrics
- Get User Analytics: User engagement and growth stats
- Get Audience Demographics: Follower demographic data
- Get Engagement Metrics: Interaction analytics
- Get Reach Statistics: Content reach and impressions
๐ Search & Discovery (6 Operations)
Advanced search and content discovery:
- Search Users: Find users by keywords and criteria
- Search Posts: Search weibo posts by content
- Search Topics: Find hashtags and trending topics
- Advanced Search: Multi-criteria search with filters
- Get Suggestions: User and content recommendations
- Search by Location: Location-based content discovery
๐ท๏ธ Tags & Hashtags (4 Operations)
Content categorization and hashtag management:
- Create Hashtag: Create new hashtag topics
- Get Hashtag Info: Retrieve hashtag statistics
- Follow Topic: Subscribe to hashtag updates
- Get Topic Timeline: Posts under specific hashtags
๐ฑ Timeline Management (3 Operations)
Feed and timeline customization:
- Get Mentions: Retrieve posts mentioning the user
- Get Favorites: Access saved/favorited posts
- Manage Lists: Create and manage user lists
๐ฏ Advertising (7 Operations)
Promotional content and advertising:
- Create Promoted Post: Promote weibo posts
- Get Ad Performance: Advertising campaign analytics
- Target Audience: Define promotional targeting
- Manage Campaigns: Campaign lifecycle management
- Get Ad Statistics: Detailed advertising metrics
- Create Ad Account: Set up advertising accounts
- Budget Management: Control advertising spend
๐ก Usage Examples
Create Engaging Weibo Post
// Configuration
Resource: "Posts & Weibo"
Operation: "Create Post"
Request Body: {
"status": "๐ ไปๅคฉๆฏไธช็พๅฅฝ็ไธๅคฉ๏ผๅไบซไธไบ็ๆดปไธญ็ๅฐ็กฎๅนธ โจ\n\n#็ๆดปๆฅ่ฎฐ #็พๅฅฝๆถๅ
#ๆญฃ่ฝ้ \n\n๐ ๅไบฌยทๆ้ณๅบ",
"pic": "https://example.com/image.jpg",
"lat": 39.9042,
"long": 116.4074,
"annotations": [{
"client_ip": "192.168.1.1",
"place_id": "B2094754D6E1C0BDF4"
}],
"rip": "192.168.1.1"
}
// Output
{
"resource": "posts",
"operation": "createPost",
"success": true,
"id": "4567890123456789",
"mid": "4567890123456789",
"created_at": "Mon Jan 15 10:30:00 +0800 2024",
"text": "๐ ไปๅคฉๆฏไธช็พๅฅฝ็ไธๅคฉ๏ผ...",
"reposts_count": 0,
"comments_count": 0,
"attitudes_count": 0,
"creditsUsed": 1,
"creditsRemaining": 99
}
Manage Comments and Interactions
// Configuration
Resource: "Comments & Interactions"
Operation: "Create Comment"
Request Body: {
"id": "4567890123456789",
"comment": "้ๅธธ่ตๅไฝ ็่ง็น๏ผ๐ ่ฟๆ ท็ๆญฃ่ฝ้ๅ
ๅฎนๅผๅพๆดๅคไบบ็ๅฐ #ๆฏๆ",
"comment_ori": 0,
"rip": "192.168.1.1"
}
// Like a post
Resource: "Comments & Interactions"
Operation: "Like Post"
Request Body: {
"id": "4567890123456789",
"attitude": "heart"
}
// Get post comments
Resource: "Comments & Interactions"
Operation: "Get Comments"
Request Body: {
"id": "4567890123456789",
"count": 50,
"page": 1,
"filter_by_author": 0
}
Track Trending Topics
// Configuration
Resource: "Trends & Hot Topics"
Operation: "Get Trending Topics"
Request Body: {
"count": 20,
"base_app": 0
}
// Get posts under specific topic
Resource: "Trends & Hot Topics"
Operation: "Get Topic Posts"
Request Body: {
"q": "ๆฅ่",
"count": 20,
"page": 1,
"feature": 0,
"is_pic": 0,
"is_video": 0
}
Advanced User Search
// Configuration
Resource: "Search & Discovery"
Operation: "Search Users"
Request Body: {
"q": "็งๆๅไธป",
"count": 10,
"page": 1,
"sort": "default",
"region": "custom:11:1000",
"gender": "all",
"school": "",
"company": ""
}
// Location-based search
Resource: "Search & Discovery"
Operation: "Search by Location"
Request Body: {
"lat": 39.9042,
"long": 116.4074,
"range": 1000,
"count": 20,
"sort": 0,
"start_time": 1704067200,
"end_time": 1704153600
}
Analytics and Performance Tracking
// Configuration
Resource: "Analytics & Insights"
Operation: "Get Post Analytics"
Request Body: {
"ids": "4567890123456789,4567890123456790",
"period": "7d"
}
// Get audience demographics
Resource: "Analytics & Insights"
Operation: "Get Audience Demographics"
Request Body: {
"uid": "1234567890",
"period": "30d",
"metrics": ["age", "gender", "location", "interests"]
}
Direct Messaging
// Configuration
Resource: "Direct Messages"
Operation: "Send Message"
Request Body: {
"uid": "1234567890",
"text": "ไฝ ๅฅฝ๏ผ็ๅฐไฝ ๅจๅพฎๅไธๅไบซ็ๅ
ๅฎนๅพๆๆๆ๏ผๆณๅไฝ ไบคๆตไธไธ ๐",
"media": "",
"type": 0
}
// Get conversation
Resource: "Direct Messages"
Operation: "Get Conversation"
Request Body: {
"uid": "1234567890",
"count": 20,
"max_id": 0,
"since_id": 0
}
โ๏ธ Configuration Options
Environment Settings
- Access Token: Weibo application access token
- App Key: Weibo application key
- App Secret: Weibo application secret
- API Version: Weibo API version
Post Options
- Location Data: GPS coordinates and place information
- Media Attachments: Images, videos, and other media
- Hashtags: Topic tags and categorization
- Mention Users: @user mentions in posts
Advanced Features
- Emoji Support: Full Unicode emoji support
- Rich Text: Formatted text with links and mentions
- Geo-targeting: Location-based content and search
- Multi-media: Support for various media formats
๐ ๏ธ Example Workflows
Social Media Management
[Content Creation] โ [Weibo Enhanced: Create Post] โ [Monitor Engagement] โ [Respond to Comments] โ [Analytics Review]
Trend Monitoring
[Weibo Enhanced: Get Trending Topics] โ [Analyze Trends] โ [Create Relevant Content] โ [Track Performance]
Customer Engagement
[Mention Monitoring] โ [Weibo Enhanced: Get Mentions] โ [Respond to Users] โ [Track Sentiment] โ [Report Insights]
Influencer Outreach
[Search Influencers] โ [Weibo Enhanced: Search Users] โ [Analyze Profiles] โ [Send Messages] โ [Track Responses]
๐ Comparison with Official Weibo Node
| Feature Category | Official Node | Weibo Enhanced | Improvement |
|---|---|---|---|
| Posts & Weibo | 1 operation | 8 operations | +700% |
| Comments | 0 operations | 7 operations | โ (new) |
| Users & Profiles | 1 operation | 6 operations | +500% |
| Trends | 0 operations | 5 operations | โ (new) |
| Direct Messages | 0 operations | 4 operations | โ (new) |
| Analytics | 0 operations | 5 operations | โ (new) |
| Search | 0 operations | 6 operations | โ (new) |
| Tags & Hashtags | 0 operations | 4 operations | โ (new) |
| Timeline | 0 operations | 3 operations | โ (new) |
| Advertising | 0 operations | 7 operations | โ (new) |
| Total Operations | 2 operations | 55 operations | +2650% |
๐ง API Endpoints
All operations are routed through N8N Tools API for consistent authentication and usage tracking:
| Resource | Base Endpoint |
|---|---|
| Posts & Weibo | /api/v1/weibo/posts/ |
| Comments & Interactions | /api/v1/weibo/comments/ |
| Users & Profiles | /api/v1/weibo/users/ |
| Trends & Hot Topics | /api/v1/weibo/trends/ |
| Direct Messages | /api/v1/weibo/messages/ |
| Analytics & Insights | /api/v1/weibo/analytics/ |
| Search & Discovery | /api/v1/weibo/search/ |
| Tags & Hashtags | /api/v1/weibo/tags/ |
| Timeline Management | /api/v1/weibo/timeline/ |
| Advertising | /api/v1/weibo/advertising/ |
๐จ Error Handling
The node provides comprehensive error handling with detailed messages:
{
"error": "INSUFFICIENT_USER_PERMISSIONS",
"success": false,
"resource": "posts",
"operation": "createPost",
"details": {
"issue": "User does not have permission to post",
"field": "access_token",
"code": 10014,
"weibo_error_code": 10014
}
}
๐ธ Pricing & Limits
- Standard Operations: 1 credit per API call
- Media Upload Operations: 2 credits (images, videos)
- Search Operations: 1 credit per query
- Monthly Quotas: Based on your N8N Tools subscription plan
- Rate Limits: 10 requests/minute (based on Weibo API limits)
- Usage Tracking: Real-time credit monitoring
๐ง Troubleshooting
Common Issues
Authentication Errors
- Verify N8N Tools API key is valid and active
- Check API URL is set to
https://api.n8ntools.io - Ensure Weibo access token has required permissions
Content Policy Violations
- Check content against Weibo community guidelines
- Ensure no prohibited keywords or content
- Verify media files meet format requirements
Chinese Text Encoding
- Use proper UTF-8 encoding for Chinese characters
- Ensure emoji and special characters are supported
- Check text length limits for posts and comments
Rate Limiting
- Implement delays between requests
- Use batch operations where possible
- Monitor Weibo API rate limits
๐ Performance Tips
- Content Optimization: Use trending hashtags and topics
- Timing: Post during peak user activity hours
- Engagement: Respond promptly to comments and mentions
- Analytics: Regular monitoring for optimization opportunities
- Chinese Localization: Use appropriate language and cultural references
๐ Support
- Documentation: docs.n8ntools.io
- API Reference: api.n8ntools.io/docs
- Community: Discord
- Email: support@n8ntools.io
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
Made with โค๏ธ by N8N Tools