N8N Tools - TikTok Enhanced icon

N8N Tools - TikTok Enhanced

Comprehensive TikTok API integration for N8N workflows

Users → Get User Following

AI-generated

Overview

The node integrates with TikTok's API via an enhanced third-party service to perform various operations related to TikTok users, videos, hashtags, music, analytics, marketing, business, creator tools, and commerce. Specifically, for the Users resource and the Get User Following operation, it retrieves a list of TikTok accounts that a specified user is following.

This node is beneficial in scenarios such as social media analysis, influencer marketing, audience research, or building TikTok-related automation workflows where you need to understand or act upon the social graph of a TikTok user.

Practical example:
You want to fetch the list of accounts followed by a TikTok user (identified by their Open ID) to analyze their interests or connections. You can specify how many accounts to retrieve and paginate through results if needed.


Properties

Name Meaning
Open ID The TikTok User Open ID identifying the user whose following list you want to retrieve.
Count Number of items to return (maximum 100). Controls how many following accounts are fetched.
Cursor Pagination cursor to fetch subsequent pages of results.

Output

  • The output is an array of JSON objects, each representing data returned from the TikTok API about the users that the specified user is following.
  • Each item corresponds to one user in the following list, containing detailed information as provided by TikTok's API.
  • The output includes pagination metadata if applicable, allowing further requests to continue fetching more data.
  • No binary data is output by this operation.

Dependencies

  • Requires an active subscription and valid API key credential for the third-party TikTok API service used by this node.
  • The node performs an initial validation request to confirm the API key and subscription status before executing the main operation.
  • Proper configuration of these credentials in n8n is necessary.
  • The node depends on the external TikTok API wrapper library bundled within the node implementation.

Troubleshooting

  • Invalid subscription or API key error:
    If the node throws an error indicating invalid subscription or API key, verify that your API key credential is correctly configured and active. Check for typos or expired keys.

  • Rate limiting or quota exceeded:
    The third-party TikTok API service may enforce rate limits. If you encounter errors related to too many requests, consider adding delays between executions or upgrading your subscription.

  • Empty or incomplete results:
    Ensure the Open ID provided is correct and corresponds to a valid TikTok user. Also, check the count and cursor parameters to properly paginate through results.

  • Network or connectivity issues:
    Confirm that your n8n instance has internet access and can reach the external API endpoints.


Links and References


If you need details on other operations or resources, feel free to ask!

Discussion