feat: add video.list scope to TikTok auth and update donation threshold text in LinkCard

This commit is contained in:
2026-07-17 22:43:38 +07:00 Unverified
parent 52c91ab7f3
commit c445f6521d
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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,
+1 -1
View File
@@ -52,7 +52,7 @@ export function LinkCard({ counts, links1, links2 }: { counts: FollowerCounts, l
</div>
</div>
{isDonate ? (
<span className="text-xs font-medium shrink-0 text-zinc-400">ขี้นจอ</span>
<span className="text-xs font-medium shrink-0 text-zinc-400">ขี้นจอ 10 บาท+</span>
) : count !== null && (
<span className="text-xs font-medium shrink-0">
{formatCount(count.count)}
+1 -1
View File
@@ -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",
}