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 a unified interface to access a wide range of social media data endpoints across four major platforms: TikTok, Instagram, YouTube, and X/Twitter. It supports 149 different API endpoints in total, allowing users to retrieve detailed information about videos, posts, users, analytics, and more.

The specific operation "Increase the number of plays of the work according to the video ID" under the "Default" resource is designed to interact with TikTok videos by increasing their play count based on a given video ID. This can be useful for scenarios such as marketing campaigns, content promotion, or testing engagement metrics.

Practical examples include:

  • Automatically boosting the play count of a TikTok video to increase its visibility.
  • Integrating with marketing automation workflows to enhance video performance.
  • Collecting and manipulating social media data programmatically for analytics or reporting.

Properties

Name Meaning
Platform Select the social media platform to work with. Options: TikTok (64 endpoints), Instagram (56 endpoints), YouTube (16 endpoints), X/Twitter (13 endpoints).
作品类型/Video type (aweme_type) The type of the TikTok video. A numeric value between 1 and 1000. Required when platform is TikTok and operation is "playcount".
作品id/Video id (item_id) The unique identifier of the TikTok video whose play count will be increased. Required when platform is TikTok and operation is "playcount".

Output

The node outputs an array of JSON objects representing the response from the TikHub API for the requested operation. Each item corresponds to one input item processed.

  • The json output field contains the data returned by the API, typically including details about the video and confirmation of the play count increase.
  • If an error occurs during processing, the output includes an error field with the error message.
  • The node does not explicitly handle binary data output.

Dependencies

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

Troubleshooting

  • Common issues:

    • Invalid or missing video ID (item_id) will cause the API request to fail.
    • Incorrect aweme_type values outside the allowed range (1-1000) may result in errors.
    • Network connectivity problems or invalid API credentials will prevent successful API calls.
  • Error messages:

    • "Unknown operation": Indicates that the specified operation is not supported for the selected platform. Verify the operation name and platform selection.
    • API errors returned from TikHub will be included in the output's error field. Check the error message for details.
  • Resolution tips:

    • Ensure all required parameters are provided and valid.
    • Confirm that the API key credential is correctly set up and has sufficient permissions.
    • Use the "Continue On Fail" option if you want the workflow to proceed despite individual item errors.

Links and References

  • TikHub API Documentation (general reference for available endpoints)
  • n8n Documentation on Creating Custom Nodes
  • Social media platform official developer documentation for TikTok, Instagram, YouTube, and X/Twitter APIs for deeper understanding of data structures and limitations.

Discussion