feat: add video.list scope to TikTok auth and update donation threshold text in LinkCard
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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
@@ -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",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user