N8N Tools - TikTok Enhanced icon

N8N Tools - TikTok Enhanced

Comprehensive TikTok API integration for N8N workflows

Videos → Get Video Likes

AI-generated

Overview

The node "N8N Tools - TikTok Enhanced" provides a comprehensive integration with the TikTok API, enabling users to interact with various TikTok resources such as videos, users, hashtags, music, analytics, marketing, business, creator, and commerce. Specifically, for the Videos resource and the Get Video Likes operation, this node fetches a list of users who have liked a specified TikTok video.

This operation is useful in scenarios where you want to analyze engagement on a particular video by retrieving information about its likers. For example, marketers can use it to identify active followers or influencers engaging with their content, or creators can monitor audience interaction.

Practical examples:

  • Retrieve the first 20 users who liked a specific TikTok video.
  • Paginate through likes using the cursor parameter to get more than 20 likers.
  • Use the data to build custom reports or trigger further workflows based on user engagement.

Properties

Name Meaning
Video ID The unique identifier of the TikTok video for which to retrieve likes.
Count Number of like entries to return (maximum 100). Defaults to 20 if not specified.
Cursor Pagination cursor to fetch the next set of results beyond the initial page.

Output

The output is an array of JSON objects representing the users who liked the specified video. Each item corresponds to one liker and contains detailed information as returned by the TikTok API via the integrated service.

The structure of each JSON object typically includes user details such as user ID, username, profile info, and possibly metadata about the like event. The exact fields depend on TikTok's API response format.

No binary data is output by this operation.

Dependencies

  • Requires an API key credential for the external "N8N Tools API" service that acts as a proxy or validation layer for TikTok API calls.
  • Requires TikTok API credentials configured in n8n to authenticate requests.
  • The node internally uses a helper class (TikTokApi) to perform API calls to TikTok endpoints.
  • Network access to TikTok API endpoints and the N8N Tools API endpoint is necessary.

Troubleshooting

  • Invalid subscription or API key error: If the node throws an error indicating invalid subscription or API key, verify that the API key credential for the N8N Tools API is correctly configured and active.
  • Rate limiting or quota exceeded: TikTok API may limit the number of requests; consider adding delays or reducing request frequency.
  • Pagination issues: If the cursor parameter is incorrect or expired, pagination may fail or return empty results. Always use the cursor value returned from the previous call.
  • Missing or incorrect Video ID: Ensure the Video ID provided is valid and corresponds to an existing TikTok video accessible by the authenticated user.
  • Network errors: Check network connectivity and firewall settings to ensure the node can reach required APIs.

Links and References


This summary is based solely on static analysis of the provided source code and property definitions without runtime execution.

Discussion