feat(tiktok): add TikTok adapter with 15 commands#202
Merged
jackwener merged 2 commits intojackwener:mainfrom Mar 21, 2026
Merged
feat(tiktok): add TikTok adapter with 15 commands#202jackwener merged 2 commits intojackwener:mainfrom
jackwener merged 2 commits intojackwener:mainfrom
Conversation
TikTok (15 commands, browser mode): Read commands: - profile: user profile info via rehydration script parsing - search: search videos via internal search API - explore: trending videos from explore page (DOM scraping) - user: recent videos from a user page (DOM scraping) - following: list accounts you follow - friends: friend suggestions - live: browse live streams with viewer counts - notifications: activity notifications Write commands (verified with real interactions): - like/unlike: like or unlike a video by URL - save/unsave: add or remove video from Favorites - follow/unfollow: follow or unfollow a user - comment: comment on a video All write operations verified with live TikTok interactions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add comprehensive TikTok adapter with 15 commands covering read operations, social interactions, and content engagement.
New Commands
Read Commands
profileopencli tiktok profile --username tiktoksearchopencli tiktok search --query "cooking" --limit 10exploreopencli tiktok explore --limit 20useropencli tiktok user --username tiktokfollowingopencli tiktok followingfriendsopencli tiktok friends --limit 10liveopencli tiktok live --limit 10notificationsopencli tiktok notificationsWrite Commands
likeopencli tiktok like --url "https://..."unlikeopencli tiktok unlike --url "https://..."saveopencli tiktok save --url "https://..."unsaveopencli tiktok unsave --url "https://..."followopencli tiktok follow --username tiktokunfollowopencli tiktok unfollow --username tiktokcommentopencli tiktok comment --url "https://..." --text "Great!"Technical Notes
__UNIVERSAL_DATA_FOR_REHYDRATION__server-rendered data parsing/api/search/general/full/endpointdata-e2esemantic selectorsexecCommand('insertText')Test plan
profile --username tiktok— 93.4M followers, 455.8M likes, verifiedsearch --query cooking— returns videos with plays/likes/comments/sharesexplore --limit 5— trending videos with view countsuser --username tiktok— video list with view countsfollowing— shows followed accountsfriends --limit 5— suggestions (tate mcrae, The Rock, etc.)live --limit 5— live streams with viewer countsnotifications— activity panellike/unlike— like count changed 1152→1153→1152 (verified real interaction)save/unsave— favorites count changed 132→133→132 (verified real interaction)follow/unfollow— verified real interactioncomment— successfully posted "love this 🔥" (verified real comment)