App Logo
tiktok.com

Post a comment on a TikTok video

Publish a comment on a TikTok video, given the video's URL or id and the text to post. Before posting it checks whether you have already left the exact same comment on that video, so re-running does not create duplicates. After posting it re-reads the video's comments to confirm the comment is really there, and tells you which account it was published from. Posting is public and immediate — show the exact text to the person asking and get their confirmation before running this. Use the companion delete-comment script to remove it again.

Input

text required

Comment text to publish. Shown publicly under your account.

video required

Full TikTok video URL or a bare numeric video id.

Output

posted required

True when this run published a new comment. False when an identical comment was already there.

videoId required
already_present required

True when the same account had already posted this exact text on this video, so nothing new was published.

verified_on_page required

True when the comment was found by re-reading the video's comments. False only when the whole comment list was read without finding it. Null when the list was too long to read to the end, so its presence could not be established either way — expect null on videos with very many comments.

text optional
commentId optional

Id of the comment, usable with the delete-comment script.

createTime optional
account_used optional

Handle the comment was actually published from, read from the signed-in session rather than assumed.

Start building not clicking