N8N Tools Sina Weibo icon

N8N Tools Sina Weibo

Interact with Sina Weibo API

Overview

The node interacts with the Sina Weibo API to retrieve the authenticated user's home timeline posts. The "Get Home Timeline" operation fetches a paginated list of recent posts from the user's home feed, which typically includes posts from accounts the user follows.

This node is useful for scenarios such as:

  • Monitoring new posts in your Weibo home timeline.
  • Aggregating or analyzing social media content from followed users.
  • Triggering workflows based on new posts appearing in the timeline.

For example, you could use this node to automatically collect and store the latest 20 posts from your home timeline every hour for sentiment analysis or reporting.

Properties

Name Meaning
Count Number of items (posts) to return from the home timeline. Default is 20.
Page Page number of results to retrieve, enabling pagination through the timeline posts. Default is 1.

Output

The output is an array of JSON objects, each representing a post from the user's home timeline. Each item corresponds to one post and contains all relevant data fields returned by the Sina Weibo API for that post, 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 external "N8N Tools API" service, which validates subscription and access rights before making calls to the Sina Weibo API.
  • The node uses the Sina Weibo API via a helper class internally bundled (WeiboApi).
  • 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.
  • HTTP request failures: Network issues or incorrect API endpoint configurations can cause failures. Ensure internet connectivity and correct base URL settings.
  • Unknown operation error: This occurs if an unsupported operation name is used. Confirm that the operation parameter is set to "getHomeTimeline".
  • Empty results: If no posts are returned, check that the authenticated user has posts in their home timeline and that the count/page parameters are set appropriately.

Links and References

Discussion