Essentials for YOOtheme Pro
TikTok Source Provider
The TikTok Source feeds media from TikTok supporting My Videos query.
Settings

| Setting | Description | Default |
|---|---|---|
| Name | The name that will identify this source instance. | |
| Default Cache Time | The default duration in seconds before the cache is renewed, set to 0 to disable caching. This setting can be overriden in each query configuration. | 3600 |

| Setting | Description |
|---|---|
| Account | The TikTok Account which to authenticate with. |
My Videos Query
Fetches videos from the authenticated account and resolves to a list of Video Type.

| Setting | Description | Default | Dynamic |
|---|---|---|---|
| Filter by ID | Filter videos comma separated list of IDs, up to maximum 20 videos. | ✓ | |
| Filter by date | Filter videos created before the specified date. | ✓ | |
| Start | The starting point, e.g of a list of 20 videos start from the number 2. | 1 | ✓ |
| Quantity | The maximum amount of videos to retrieve. | 20 | ✓ |
| Cache | The duration in seconds before the cache is invalidated and the query re-executed. | 3600 |
Video Type
Defines the mapping options of a TikTok Video object.

| Option | Description | Type | Filters |
|---|---|---|---|
| ID | The unique identifier of this video. | String | |
| Title | The title of this video, max length 150. | String | Limit |
| Description | The description for this video, max length 150. | String | Limit |
| Duration | The duration of this video in seconds. | Int | |
| Width | The width of this video. | Int | |
| Height | The height of this video. | Int | |
| Cover | The path to the locally cached video cover. | String | |
| Embed Link | The embed link of tiktok.com for this video. | String | |
| Embed HTML | The HTML code for embedded video. | String | |
| Share URL | A shareable link for this video. Note that the website behaves differently on Mobile and Desktop devices. | String | |
| Created At | The time this video was created. | String | Date |
| Total Shares | Number of times this video has been shared. | Int | |
| Total Likes | Number of times this video has been liked. | Int | |
| Total Comments | Number of times this video has been commented. | Int | |
| Total Views | Number of times this video has been viewed. | Int |