Skip to content

A Tiktok client library for NodeJS that connects through the TikTok Web browser app

License

Notifications You must be signed in to change notification settings

yaasiin-ayeva/tiktok.js

Repository files navigation

tiktokjs

A Tiktok client library for NodeJS that connects through the TikTok Web browser app

Installation

npm install tiktokjs

How to run the script

Kindly set you environment variables from the .env.test file.

cp .env.test .env

Replace the CLIENT and PASSWORD variables in the .env file with your credentials and run the following command:

ts-node src/test.ts

Usage

import { TikTokClient } from './client';
const dotenv = require('dotenv');
dotenv.config();
const { CLIENT, PASSWORD } = process.env;

(async () => {
    const clientId = CLIENT;
    const client = new TikTokClient();
    await client.authenticate(CLIENT, PASSWORD);
})();

TODO

  • Complete Authentication
  • Browser Pooling for multiple sessions
  • Workers for multiple sessions and re-use sessions
  • Complete Session Management
  • Complete Session Finalization
  • Complete Session Refresh
  • Complete Session Deletion & Cleanup
  • Add upload function
  • Add native post schedule function
  • Add download function
  • Add get function
  • Add delete function
  • Add search function

About

A Tiktok client library for NodeJS that connects through the TikTok Web browser app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published