Actions11
Overview
The node integrates with TikTok's API to retrieve detailed information about a specific video. The "Get Info" operation under the "Video" resource fetches metadata and content details for a given video ID. This is useful for scenarios where users want to programmatically access video attributes such as title, description, statistics, or other metadata directly from TikTok.
Practical examples include:
- Automatically fetching video details to display in dashboards.
- Verifying video metadata before further processing or analytics.
- Integrating TikTok video data into content management systems or marketing tools.
Properties
| Name | Meaning |
|---|---|
| Video ID | The unique identifier of the TikTok video whose information you want to retrieve. |
Output
The output is a JSON object containing detailed information about the specified TikTok video. This typically includes metadata fields returned by TikTok's video info endpoint, such as video title, description, upload date, privacy settings, statistics (views, likes, comments), and other relevant attributes.
The node does not output binary data for this operation; it only returns structured JSON data representing the video's information.
Dependencies
- Requires an API authentication token credential for TikTok's Open API.
- The node makes HTTP requests to TikTok's official API endpoints.
- Proper configuration of the TikTok API credentials within n8n is necessary.
- Network connectivity to TikTok's API servers is required.
Troubleshooting
Common Issues:
- Invalid or missing Video ID: Ensure the Video ID provided is correct and exists on TikTok.
- Authentication errors: Verify that the TikTok API credentials are valid and have the necessary permissions.
- Rate limiting: The TikTok API enforces rate limits. If exceeded, the node will throw an error indicating to wait before retrying.
- Network issues: Connectivity problems can cause request failures.
Error Messages:
- "TikTok API Error: ...": Indicates an error response from TikTok's API, often including an error code and message. Check the Video ID and credentials.
- "Rate limit exceeded. Please try again later.": The node has hit TikTok's API rate limit. Wait for the cooldown period before retrying.
- "Invalid response received from TikTok API": Unexpected response format; possibly due to API changes or network issues.
- "Request failed after maximum retries": The node attempted retries but could not complete the request successfully. Check network and API status.
To resolve these, verify input parameters, ensure valid credentials, respect rate limits, and check network connectivity.
Links and References
- TikTok Open API Documentation
- TikTok Video API Reference (official endpoint for video info)