N8N Tools - TikTok Enhanced icon

N8N Tools - TikTok Enhanced

Comprehensive TikTok API integration for N8N workflows

Users → Get User Liked Videos

AI-generated

Overview

This node integrates with TikTok's API to retrieve the list of videos that a specified user has liked. It is useful for scenarios where you want to analyze or monitor the content preferences of a TikTok user, such as for social media marketing research, influencer analysis, or content curation.

For example, you can use this node to fetch the most recent videos liked by a user identified by their TikTok Open ID, enabling you to understand their interests or engagement patterns.

Properties

Name Meaning
Open ID The TikTok User Open ID identifying the user whose liked videos you want to retrieve.
Count Number of liked videos to return (maximum 100). Defaults to 20 if not specified.
Cursor Pagination cursor to fetch subsequent pages of results when there are more than Count.

Output

The node outputs an array of JSON objects, each representing a liked video by the specified user. Each item contains detailed information about a liked video as returned by the TikTok API, which may include video metadata such as video ID, description, author info, statistics, and other relevant fields.

No binary data output is produced by this operation.

Dependencies

  • Requires an active subscription and valid API key for the external "N8N Tools API" service, which acts as a proxy or validation layer for TikTok API requests.
  • Requires TikTok API credentials configured in n8n to authenticate requests.
  • The node internally uses a TikTok API client library to perform the actual API calls.

Troubleshooting

  • Invalid Subscription or API Key: If the node throws an error indicating invalid subscription or API key, verify that your API key credential is correct and that your subscription to the external API service is active.
  • Rate Limits or Quotas: TikTok API or the external service may enforce rate limits; if you encounter errors related to request limits, consider reducing the Count parameter or adding delays between executions.
  • Pagination Issues: If you do not receive all expected results, ensure you use the Cursor property correctly to paginate through results.
  • Missing or Incorrect Open ID: Ensure the Open ID provided corresponds to a valid TikTok user; otherwise, the API call will fail or return empty results.

Links and References

Discussion