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 across four major platforms: TikTok, Instagram, YouTube, and X/Twitter. It supports 64 TikTok endpoints, 56 Instagram endpoints, 16 YouTube endpoints, and 13 X/Twitter endpoints, enabling users to retrieve various types of data such as videos, user profiles, analytics, posts, stories, reels, channels, tweets, timelines, and more.

A common use case for this node is aggregating social media data from multiple platforms in one workflow, simplifying data collection for marketing analysis, content monitoring, or social media management. For example, a marketer could use it to fetch TikTok video analytics, Instagram story insights, YouTube channel statistics, and recent tweets all within a single automation.

Specifically, when the operation is "Encrypt or Decrypt TikTok APP login request body" (as per your selection), the node handles encryption or decryption of TikTok app login request bodies, which can be useful for developers working with TikTok's private API or analyzing login flows securely.

Properties

Name Meaning
Platform Select the social media platform to work with. Options:
- 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

Additional properties depend on the selected operation and platform but are dynamically loaded from the respective operation and field definitions imported from separate modules. These include parameters like IDs, usernames, keywords, pagination tokens, counts, etc., relevant to the specific API endpoint being called.

Output

The node outputs an array of JSON objects representing the data retrieved from the selected social media platform's API endpoint. The structure of each JSON object depends on the specific operation performed but generally includes fields such as video details, user information, analytics data, posts, or other relevant social media content.

If the node encounters an error during execution and "Continue On Fail" is enabled, it outputs JSON objects containing an error field with the error message corresponding to the failed item.

The node does not output binary data.

Dependencies

  • Requires an API key credential for authenticating requests to the TikHub API service at https://api.tikhub.io.
  • Uses internal utility functions (tikHubApiRequest) to make HTTP requests.
  • No additional external dependencies beyond the TikHub API and n8n core modules.

Troubleshooting

  • Unknown Operation Error: If you select an operation that does not exist for the chosen platform, the node throws an error stating "Unknown operation: [operation] for platform: [platform]." Ensure the operation name matches one supported by the platform.
  • API Request Failures: Network issues, invalid credentials, or rate limiting by the TikHub API may cause request failures. Check your API key validity and network connectivity.
  • Parameter Errors: Missing or incorrect input parameters for the selected operation can lead to errors. Verify that all required parameters are provided and correctly formatted.
  • Continue On Fail Behavior: When enabled, the node will continue processing subsequent items even if some fail, outputting error messages per failed item. Disable this option to stop execution on first failure for easier debugging.

Links and References

  • TikHub API Documentation (official API base URL referenced)
  • n8n Documentation on Creating Custom Nodes
  • Social Media Platform APIs (for understanding underlying data structures):
    • TikTok Developer Resources
    • Instagram Graph API
    • YouTube Data API
    • Twitter API (X)

If you want me to extract details specifically about the "Encrypt or Decrypt TikTok APP login request body" operation, please provide its exact operation name or confirm, and I can focus the summary accordingly.

Discussion