🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@robinpath/tiktok

Package Overview
Dependencies
Maintainers
4
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@robinpath/tiktok

TikTok Business / Marketing API — list campaigns, fetch ads, create ads. Access-Token auth via the encrypted credential vault.

latest
npmnpm
Version
0.3.0
Version published
Maintainers
4
Created
Source

@robinpath/tiktok

TikTok module for RobinPath.

Category Functions Auth License

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

robinpath add @robinpath/tiktok

Quick Start

1. Set up credentials

tiktok.setCredentials "your-credentials"

2. getUserInfo

tiktok.getUserInfo

Available Functions

FunctionDescription
tiktok.setCredentialsConfigure tiktok credentials.
tiktok.getUserInfogetUserInfo
tiktok.listVideoslistVideos
tiktok.getVideoByIdgetVideoById
tiktok.initVideoPublishinitVideoPublish
tiktok.queryCreatorInfoqueryCreatorInfo
tiktok.getVideoCommentsgetVideoComments
tiktok.replyToCommentreplyToComment
tiktok.getVideoInsightsgetVideoInsights
tiktok.searchVideossearchVideos
tiktok.getTrendingHashtagsgetTrendingHashtags
tiktok.getHashtagInfogetHashtagInfo
tiktok.getUserFollowersgetUserFollowers
tiktok.getUserFollowinggetUserFollowing
tiktok.likeVideolikeVideo
tiktok.unlikeVideounlikeVideo
tiktok.getAccountStatsgetAccountStats

Examples

getUserInfo

tiktok.getUserInfo

listVideos

tiktok.listVideos

getVideoById

tiktok.getVideoById

Integration 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.

License

MIT

Keywords

tiktok

FAQs

Package last updated on 06 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts