Skip to content

Fix stale and unresponsive TikTok embeds for Discord with just s/i/n

Notifications You must be signed in to change notification settings

okdargy/fxTikTok

Repository files navigation

fxTikTok

Embed TikTok videos and slideshows on Discord with just s/i/n

Deploy to Cloudflare Workers

📸 Screenshots

Click here to preview how fxTikTok looks in action
Video Preview
Comparing tiktok.com vs. tnktok.com embeds on Discord
Slideshow Preview
Slideshow embeds
Live Preview
Live video embeds
Direct Preview
Direct image/video support

📖 Usage

Using fxTikTok is easy on Discord. Fix ugly and unresponsive embeds by sending your TikTok link and then typing s/i/n

👁️ Visual learner? Click here to see a GIF tutorial Introduction GIF

How does this work?

When you send s/i/n in Discord, it modifies your most recent message using the sed format. Specifically, it replaces the first occurrence of the second parameter (i) in the message with the third parameter (n).

Before After
tiktok.com tnktok.com

Using Direct Embeds

Don't want all that statistic clutter on your embed and only want the video or image? Simply change your URL to d.tnktok.com

Before After
www.tiktok.com d.tnktok.com

Alternatively, you can also set isDirect to true thru the URL query by adding ?isDirect=true at the end of your URL

I don't see the video's caption!

By default, we put the description into the og:description tag, but Discord removes that from the embed if there's a video inside the embed. We decided not to add it to the top like what tfxktok.com does to prevent the embed from getting too cluttered with hashtags.

However, we want to give users the option to add it in case it brings additional context to the video. You can change your URL to a.tnktok.com to add the description to the top.

Before After
www.tiktok.com a.tnktok.com

Alternatively, you can also set addDesc to true thru the URL query by adding ?addDesc=true at the end of your URL

Why use tnktok.com?

We check all the boxes for being one of the best TikTok embedding services with many features that others don't have. Here's a table comparing our service, tnktok.com, with the other TikTok embedding services as well as TikTok's default embeds.

tnktok.com Default TikTok tiktxk.com vxtiktok.com tfxktok.com
Embed playable videos ☑️ ☑️ ☑️
Embed multi-image slideshows ☑️ ☑️
Embed lives ☑️ ☑️
Open source ☑️ ☑️ ☑️
Supports direct embeds ☑️
Shows like, shares, comments ☑️ ☑️ ☑️
Removes tracking for redirects ☑️ ☑️ ☑️ ☑️
Support for multi-continent short URLs ☑️ ☑️ ☑️ ☑️
Support for h265/high quality ☑️
Last commit N/A N/A

About

Fix stale and unresponsive TikTok embeds for Discord with just s/i/n

Topics

Resources

Stars

Watchers

Forks

Sponsor this project