@robinpath/tiktok
v0.1.1
Published
TikTok module for RobinPath.
Readme
@robinpath/tiktok
TikTok module for RobinPath.
Why use this module?
The tiktok module lets you:
- getUserInfo
- listVideos
- getVideoById
- initVideoPublish
- queryCreatorInfo
All functions are callable directly from RobinPath scripts with a simple, consistent API.
Installation
npm install @robinpath/tiktokQuick Start
1. Set up credentials
tiktok.setCredentials "your-credentials"2. getUserInfo
tiktok.getUserInfoAvailable Functions
| Function | Description |
|----------|-------------|
| tiktok.setCredentials | Configure tiktok credentials. |
| tiktok.getUserInfo | getUserInfo |
| tiktok.listVideos | listVideos |
| tiktok.getVideoById | getVideoById |
| tiktok.initVideoPublish | initVideoPublish |
| tiktok.queryCreatorInfo | queryCreatorInfo |
| tiktok.getVideoComments | getVideoComments |
| tiktok.replyToComment | replyToComment |
| tiktok.getVideoInsights | getVideoInsights |
| tiktok.searchVideos | searchVideos |
| tiktok.getTrendingHashtags | getTrendingHashtags |
| tiktok.getHashtagInfo | getHashtagInfo |
| tiktok.getUserFollowers | getUserFollowers |
| tiktok.getUserFollowing | getUserFollowing |
| tiktok.likeVideo | likeVideo |
| tiktok.unlikeVideo | unlikeVideo |
| tiktok.getAccountStats | getAccountStats |
Examples
getUserInfo
tiktok.getUserInfolistVideos
tiktok.listVideosgetVideoById
tiktok.getVideoByIdIntegration with RobinPath
import { RobinPath } from "@wiredwp/robinpath";
import Module from "@robinpath/tiktok";
const rp = new RobinPath();
rp.registerModule(Module.name, Module.functions);
rp.registerModuleMeta(Module.name, Module.functionMetadata);
const result = await rp.executeScript(`
tiktok.setCredentials "your-credentials"
tiktok.getUserInfo
`);Full API Reference
See MODULE.md for complete documentation including all parameters, return types, error handling, and advanced examples.
Related Modules
@robinpath/facebook— Facebook module for complementary functionality@robinpath/instagram— Instagram module for complementary functionality@robinpath/twitter— Twitter/X module for complementary functionality@robinpath/linkedin— LinkedIn module for complementary functionality@robinpath/pinterest— Pinterest module for complementary functionality
License
MIT
