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 (149 Endpoints)", provides unified access to a wide range of social media data endpoints through the TikHub API. It supports four major platforms: TikTok, Instagram, YouTube, and X/Twitter, covering 149 endpoints in total. The node allows users to retrieve detailed information such as videos, users, analytics, posts, stories, reels, channels, tweets, timelines, and more.

A common use case is aggregating social media data from multiple platforms for analytics, marketing insights, or content monitoring. For example, a marketer could use this node to fetch TikTok video analytics, Instagram post details, YouTube channel statistics, or Twitter tweet data all within one workflow.

Specifically, the "Get comment keywords analysis" operation under the "Default" resource enables extracting keyword analysis from comments on a given video or post, useful for sentiment analysis, trend detection, or audience engagement evaluation.

Properties

Name Meaning
Platform Select the social media platform to work with. Options: TikTok, Instagram, YouTube, X/Twitter.
作品id/Video id (item_id) The ID of the video or post to analyze comments for (required when Platform is TikTok and Operation is comment keywords analysis).

Output

The node outputs JSON data representing the response from the TikHub API for the selected operation. For the "Get comment keywords analysis" operation, the output JSON contains analyzed keywords extracted from comments related to the specified video/post ID.

The output is structured as an array of JSON objects, each corresponding to an item processed by the node. Each object includes the relevant data fields returned by the TikHub API's comment keyword analysis endpoint.

No binary data output is indicated by the code.

Dependencies

  • Requires an active connection to the TikHub API service.
  • Needs an API key credential configured in n8n to authenticate requests to TikHub.
  • The base URL for API requests is https://api.tikhub.io.
  • The node internally uses helper functions to make HTTP requests and handle pagination parameters.

Troubleshooting

  • Unknown operation error: If the node throws an error like Unknown operation: <operation> for platform: <platform>, verify that the selected operation is valid for the chosen platform.
  • Missing required parameters: Ensure that mandatory input properties such as the video ID (item_id) are provided when required.
  • API request failures: Network issues or invalid API credentials can cause request errors. Confirm that the API key is correctly set up and has sufficient permissions.
  • Continue on Fail behavior: If enabled, the node will continue processing subsequent items even if some fail, returning error messages in the output JSON for failed items.

Links and References

Discussion