Actions29
- Posts Actions
- Comments Actions
- Users Actions
- Search Actions
Overview
This node interacts with the Sina Weibo API to retrieve a user's favorite posts. Specifically, the "Get Favorites" operation under the "Posts" resource fetches a paginated list of posts that the authenticated user has marked as favorites. This is useful for workflows that need to analyze, archive, or process content that a user has favorited on Sina Weibo.
Practical examples include:
- Automatically collecting and saving favorite posts for sentiment analysis.
- Triggering notifications or further actions when new favorites appear.
- Aggregating favorite posts data for reporting or social media management.
Properties
| Name | Meaning |
|---|---|
| Count | Number of favorite posts to return. |
| Page | Page number of the results to retrieve (for pagination). |
These properties allow users to control how many favorite posts are fetched and which page of results to access.
Output
The node outputs an array of JSON objects, each representing a favorite post retrieved from Sina Weibo. The structure of each JSON object corresponds to the post data returned by the Sina Weibo API, typically including fields such as post ID, text content, author information, timestamps, and other metadata related to the post.
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.
- Uses the Sina Weibo API via a helper class internally.
- The node expects proper configuration of credentials within n8n to authenticate requests.
- Network connectivity to
https://api.weibo.comand the N8N Tools API endpoint is necessary.
Troubleshooting
- Invalid Subscription or API Key: If the node throws an error indicating invalid subscription or API key, verify that the API key credential is correctly configured and active.
- API Rate Limits or Access Denied: Sina Weibo API may impose rate limits or require specific permissions; ensure the authenticated user has appropriate access.
- Pagination Issues: Requesting pages beyond available data will result in empty responses; adjust the "Page" property accordingly.
- Network Errors: Connectivity issues to either the N8N Tools API or Sina Weibo API endpoints can cause failures; check network settings and firewall rules.
- Unknown Operation Error: This indicates a misconfiguration of the operation parameter; ensure "Get Favorites" is selected under the "Posts" resource.
Links and References
- Sina Weibo API Documentation
- n8n Documentation - Creating Custom Nodes
- N8N Tools API Service (for subscription and API key management)