From c445f6521dda39a14e29d98720ea02303ff8f782 Mon Sep 17 00:00:00 2001 From: gunshiz Date: Fri, 17 Jul 2026 22:43:38 +0700 Subject: [PATCH] feat: add video.list scope to TikTok auth and update donation threshold text in LinkCard --- app/api/auth/tiktok/route.ts | 2 +- components/LinkCard.tsx | 2 +- lib/config.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/api/auth/tiktok/route.ts b/app/api/auth/tiktok/route.ts index 8b91130..261c71a 100644 --- a/app/api/auth/tiktok/route.ts +++ b/app/api/auth/tiktok/route.ts @@ -20,7 +20,7 @@ export async function GET() { const params = new URLSearchParams({ client_key: clientKey, - scope: "user.info.basic,user.info.profile,user.info.stats", + scope: "user.info.basic,user.info.profile,user.info.stats,video.list", response_type: "code", redirect_uri: redirectUri, state: csrfState, diff --git a/components/LinkCard.tsx b/components/LinkCard.tsx index 2ed0975..cf41487 100644 --- a/components/LinkCard.tsx +++ b/components/LinkCard.tsx @@ -52,7 +52,7 @@ export function LinkCard({ counts, links1, links2 }: { counts: FollowerCounts, l {isDonate ? ( - ขี้นจอ + ขี้นจอ 10 บาท+ ) : count !== null && ( {formatCount(count.count)} diff --git a/lib/config.ts b/lib/config.ts index cce1873..1189f22 100644 --- a/lib/config.ts +++ b/lib/config.ts @@ -46,7 +46,7 @@ export const config = { }, { name: "Youtube", - link: "https://www.youtube.com/@Erika%E0%B9%80%E0%B8%AD%E0%B8%A3%E0%B8%B4%E0%B8%81%E0%B9%89%E0%B8%B2/videos", + link: "https://www.youtube.com/@erika.bombay007", desc: "กดติดตามใน Youtube", icon: "youtube", }