Post
The Post script is used to publish videos or images to TikTok.
Steps
- Prepare Materials:
- Option 1: Click the
Material
button to upload videos/images to the material library. - Option 2: Use local folder as material source by setting the folder path in the script configuration.
- Option 1: Click the
- Select the device to run the script.
- Click
Script
>Post
. - Configure the task settings:
- Material Source: Choose between Material Library or Local Folder.
- Local Folder Path: If using local folder, specify the path containing your videos/images.
- Post Way: Choose how to post: System Share or Add Button(
+
) or Use Sound by Search. - Sound Name: When using "Use Sound by Search" post way, you can either:
- Enter a sound name to search (e.g., "original sound", "trending music")
- Enter a TikTok sound URL directly (e.g.,
https://www.tiktok.com/t/ZP8hvBwCb/
)
- Content Type: Select video or image.
- Add Sound Switch: Enable/disable adding sound.
- Add Product Link Switch: Enable/disable adding a product link.
- Captions: Set captions, including mentions (@TikMatrixPhoneFarm) and tags (#tag1 #tag2 #tag3). Use one caption per line. To split title and description, use
##
(e.g., Title##Long Description). - Material Tags: Filter materials by tags. If not set, all materials are used.
- Click
Start Script
to begin.
Material Management
Use Sound Modes
When Post Way is set to "Use Sound by Search", the script supports two different modes for adding music:
1. Sound Search Mode
Enter a sound name to search for music within TikTok:
- Examples:
original sound
,trending music
,viral beat
- The script will search TikTok's music library and select the first matching result
- This mode is useful when you want to use popular or trending sounds
2. Sound URL Mode
Enter a direct TikTok sound URL to use specific music:
- Supported URL formats:
- Short links:
https://www.tiktok.com/t/ZP8hvBwCb/
- Music pages:
https://www.tiktok.com/music/original-sound-7473897776619834646
- VM links:
https://vm.tiktok.com/ZMhvBwCbD/
- Short links:
- The script automatically detects URLs starting with
https://
and opens them directly - This mode is useful when you want to use a specific sound from a particular video
Material Library
- Material Tags: Add tags to materials for filtering during posting. If no tag is specified, all materials are used.
- Material Caption: You can set a custom caption for each material. If set, it takes priority over the post settings.
- Material Username: You can set a custom username for each material. Materials matching the username are prioritized.
- Material Order: Set the order number for materials (useful for multi-image posts; lower numbers appear first).
Local Folder Source
-
Folder Structure:
/path/to/materials/
├── caption.txt (optional - root fallback)
├── sound_names.txt (optional - root fallback)
├── sound_urls.txt (optional - root fallback)
├── @username1/
│ ├── video1.mp4
│ ├── video2.mp4
│ ├── image1.jpg
│ ├── image2.png
│ ├── caption.txt (optional)
│ ├── sound_names.txt (optional)
│ └── sound_urls.txt (optional)
├── @username2/
│ ├── content1.mp4
│ ├── content2.jpg