A Tiktok client library for NodeJS that connects through the TikTok Web browser app
npm install tiktokjs
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
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);
})();
- 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