Closed thinkpadmaster closed 2 months ago
The Tiktok slide URL is marked as an invalid link e.g: https://www.tiktok.com/@binance/photo/7364097008107326763
https://www.tiktok.com/@binance/photo/7364097008107326763
It might be better to add the "photo" slug to the regex pattern.
const TiktokURLregex = /https:\/\/(?:m|www|vm|vt)?.?tiktok.com\/((?:.*\b(?:(?:usr|v|embed|user|video|photo)\/|\?shareId=|\&item_id=)(\d+))|\w+)/;
Please try again guys, I've updated it.
The Tiktok slide URL is marked as an invalid link e.g:
https://www.tiktok.com/@binance/photo/7364097008107326763
It might be better to add the "photo" slug to the regex pattern.