TikHub Complete (149 Endpoints) icon

TikHub Complete (149 Endpoints)

Access ALL 149 TikHub social media data endpoints for TikTok (64), Instagram (56), YouTube (16), and X/Twitter (13)

Actions64

Overview

This node, named "TikHub Complete," provides unified access to a wide range of social media data endpoints across four major platforms: TikTok, Instagram, YouTube, and X (formerly Twitter). It supports 149 endpoints in total, allowing users to retrieve detailed information such as user profiles, videos, posts, analytics, stories, reels, tweets, channels, and timelines.

The node is particularly useful for social media analysts, marketers, content creators, and developers who want to aggregate or analyze social media data from multiple platforms within a single workflow. For example, you could use it to fetch detailed user profile information from TikTok or X, gather video analytics from YouTube, or extract post and story data from Instagram.

In the context of the specified Resource "Default" and Operation "Get information of specified user," this node fetches detailed user profile information from the selected platform based on various user identifiers.

Properties

Name Meaning
Platform Select the social media platform to work with. Options are:
- TikTok (64 endpoints): Access TikTok video, user, analytics, and shop data
- Instagram (56 endpoints): Access Instagram post, user, story, and reel data
- YouTube (16 endpoints): Access YouTube video, channel, and search data
- X/Twitter (13 endpoints): Access X (Twitter) tweet, user, and timeline data
用户uid (可选,纯数字)/User uid (optional, pure number) (TikTok only) Optional numeric user ID to identify the user.
用户sec_user_id/User sec_user_id (TikTok only) User's secure user ID string.
用户unique_id (用户名)/User unique_id (username) (TikTok only) User's unique username identifier.
用户id/User id (TikTok only) Required user ID to specify the user.
用户名/Screen Name (X only) The screen name (username) of the user.
用户ID(如果使用用户ID则会忽略用户名)/User ID (If the user ID is used, the user name will be ignored) (X only) Numeric user ID; if provided, this takes precedence over the screen name. Value range: 1 to 1000.

Output

The node outputs an array of JSON objects representing the data returned by the selected endpoint for the specified user. The structure of each JSON object depends on the platform and the specific user profile data retrieved but generally includes detailed user information such as:

  • User identifiers (IDs, usernames)
  • Profile metadata (display name, bio, follower counts)
  • Media statistics (number of posts, videos, etc.)
  • Other platform-specific user details

If the API returns binary data (not typical for user profile info), it would be included accordingly, but for this operation, output is primarily JSON.

Errors encountered during execution are also returned as JSON objects containing an error field with the error message.

Dependencies

  • Requires an API key credential for authenticating requests to the TikHub API service.
  • The node makes HTTP requests to the base URL https://api.tikhub.io.
  • No other external dependencies are required.
  • Proper configuration of the API key credential in n8n is necessary for successful operation.

Troubleshooting

  • Unknown operation error: If the operation parameter does not match any known endpoint, the node throws an error indicating an unknown operation for the selected platform. Ensure that the operation name is correct and supported.
  • Missing required parameters: For TikTok user profile retrieval, the 用户id/User id property is required. Omitting it may cause errors or empty responses.
  • API authentication errors: If the API key credential is missing, invalid, or expired, the node will fail to authenticate with the TikHub API. Verify that the API key is correctly configured and active.
  • Rate limiting or quota exceeded: The TikHub API may enforce rate limits. If exceeded, the node might return errors or incomplete data. Consider adding delays or handling retries.
  • Invalid user identifiers: Providing incorrect or non-existent user IDs or usernames will result in empty or error responses. Double-check the input values.
  • Continue on Fail behavior: If enabled, the node will continue processing subsequent items even if some fail, returning error details in the output JSON.

Links and References


Note: This summary is based solely on static analysis of the provided source code and property definitions without runtime execution.

Discussion