Actions29
- Posts Actions
- Comments Actions
- Users Actions
- Search Actions
Overview
The node interacts with the Sina Weibo API via the N8N Tools API to perform various operations related to Weibo comments. Specifically, for the Get Comment operation under the Comments resource, it retrieves detailed information about a specific comment on Weibo by its Comment ID.
This node is useful when you want to fetch data about a particular comment, such as its content, author, timestamp, and other metadata, for further processing or analysis within an n8n workflow.
Practical example:
You might use this node in a workflow that monitors user interactions on your Weibo posts. When a new comment ID is detected (e.g., from another trigger), this node can fetch the full comment details to log them, analyze sentiment, or respond automatically.
Properties
| Name | Meaning |
|---|---|
| Comment ID | The unique identifier of the comment to retrieve. |
Output
The output is a JSON object representing the detailed data of the requested comment. This typically includes fields such as the comment text, author information, creation time, and possibly other metadata returned by the Sina Weibo API.
If the node encounters an error (e.g., invalid Comment ID), the output JSON will contain an error field with the error message.
The node does not output binary data.
Dependencies
- Requires access to the N8N Tools API, which acts as a proxy or validation layer for the Sina Weibo API.
- Requires an API key credential for the N8N Tools API to authenticate requests.
- The node internally uses a helper class (
WeiboApi) to interact with the Sina Weibo endpoints. - No direct environment variables are required beyond the configured credentials.
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 set up and active.Comment not found or invalid Comment ID:
If the specified Comment ID does not exist or is malformed, the node may return an error. Double-check the Comment ID value.Network or API errors:
Temporary network issues or Sina Weibo API downtime can cause failures. Retrying later or checking connectivity may help.Continue On Fail behavior:
If enabled, the node will output error messages per item instead of stopping execution, allowing workflows to handle partial failures gracefully.
Links and References
- Sina Weibo Official API Documentation (in Chinese)
- n8n Documentation on Creating Custom Nodes
- N8N Tools API - General Info (for API key management and usage)