Post photos to TikTok
Automatically post photos to TikTok on tiktok.com. Publish a photo post with a caption on the signed-in TikTok account, through TikTok Studio. Runs in practice mode by default: it uploads the image and fills the caption, then stops before Post. Pass dryRun:false to publish for real; it then re-reads your profile and returns the new post's id and URL. Posting is public and immediate, so show the exact image and caption to the person and get their confirmation first. Use the delete-post script to remove it.
Input
photo requiredImage to post (JPEG, PNG or WebP).
caption requiredPost description, up to 4000 characters.
dryRun optionalPractice mode (default true): uploads and fills the caption, then stops before Post. Pass false to publish for real.
Default: trueOutput
None
FAQ
Get TikTok following
List who a TikTok user follows, by @username. Accounts that keep their following list hidden, and private accounts, are reported with a clear reason instead of an empty or partial list; a handle nobody owns is reported as such. For third-party accounts, TikTok caps the list and pads short ones with suggested accounts, so check `total` and `truncated`; results are only fully reliable for accounts you can see in full, such as your own.
Search TikTok users
Search TikTok accounts by keyword. Returns the top ~10 matches (TikTok web caps user search; not deeply paginable).
Get TikTok profile
Get a TikTok user's profile (bio, stats, verified, secUid) by @username.
