Actions29
- Posts Actions
- Comments Actions
- Users Actions
- Search Actions
Overview
This node integrates with the Sina Weibo API to interact with public posts on the platform. Specifically, the "Get Public Timeline" operation retrieves a list of recent public posts from all users on Weibo. This is useful for monitoring trending content, gathering social media insights, or displaying a live feed of public posts in an application or workflow.
Practical examples include:
- Aggregating the latest public posts for sentiment analysis.
- Displaying a real-time public timeline feed on a dashboard.
- Collecting data for social media marketing campaigns.
Properties
| Name | Meaning |
|---|---|
| Count | Number of items (posts) to return from the public timeline. Default is 20. |
| Page | Page number of results to retrieve, allowing pagination through the public timeline. |
Output
The output is a JSON array where each item corresponds to a single public post retrieved from the Sina Weibo public timeline. Each JSON object contains the details of a post as returned by the Weibo API, such as post content, author information, timestamps, and metadata.
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential for the "N8N Tools API" service to validate subscription and access rights.
- The node uses the Sina Weibo API endpoints via the N8N Tools API proxy.
- Proper configuration of the API key credential in n8n is necessary for successful execution.
Troubleshooting
- Invalid subscription or API key error: If the node throws an error indicating invalid subscription or API key, verify that the API key credential is correctly configured and active.
- API validation failure: Network issues or incorrect API endpoint URLs can cause validation failures. Ensure network connectivity and correct credential setup.
- Unknown operation error: This occurs if an unsupported operation name is used. Confirm that the operation parameter is set to "getPublicTimeline" for this use case.
- Empty or incomplete results: Check the "Count" and "Page" parameters to ensure they are within valid ranges and that the Weibo API has available data for those pages.
Links and References
- Sina Weibo Official API Documentation
- n8n Documentation - Creating Custom Nodes
- N8N Tools API Service (for API key management and subscription)