Fetch TikTok video feeds and send them directly to Discord channels via webhooks. You can also modify the code to change the destination as needed.
- Automatically fetches the latest TikTok videos for specified accounts.
- Sends video links to Discord via webhook.
- Stores post history to prevent duplicate notifications.
- Easily configurable through
tt_feeds.json
andposts.json
.
- Install Node.js v20.x.x or higher.
- Basic knowledge of editing JSON files for configuration.
- Clone or download the repository.
- Install dependencies:
npm install
- Configure TikTok IDs and Discord webhooks in
tt_feeds.json
:{ "tiktok_user1": { "webhook": "https://discord.com/api/webhooks/WEBHOOK_ID/WEBHOOK_TOKEN" }, "tiktok_user2": { "webhook": "https://discord.com/api/webhooks/WEBHOOK_ID/WEBHOOK_TOKEN" } }
- Run the bot:
node .
This file stores the TikTok usernames and their corresponding Discord webhooks:
{
"tiktok_user1": {
"webhook": "https://discord.com/api/webhooks/WEBHOOK_ID/WEBHOOK_TOKEN"
},
"tiktok_user2": {
"webhook": "https://discord.com/api/webhooks/WEBHOOK_ID/WEBHOOK_TOKEN"
}
}
This file is generated automatically to track which posts have already been shared to Discord. Example:
{
"tiktok_user1": ["123456789", "987654321"],
"tiktok_user2": ["234567890", "876543219"]
}
- The bot checks for new posts every 5 minutes by default. You can adjust this interval in the script by modifying the
interval
value. - Ensure that all webhooks are valid and active.
For help or customizations, feel free to reach out:
- Discord: @uoaio
- Fiverr: fiverr.com/aryanali945
- YouTube: youtube.com/@uoaio
- GitHub: github.com/uo1428