返回 AiToEarn
index.html
根目录 / demo / kwai / index.html
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="UTF-8">
5 <title>Title</title>
6 </head>
7 <body>
8 <button onclick="loginClick()">登录</button>
9 <script>
10 const appId = "ks715790869885446758";
11 const appSecret = "cqSvJvBSPJjd-4pBH_4N0Q";
12
13 function loginClick() {
14 window.href = `https://open.kuaishou.com/oauth2/authorize?app_id=${appId}&scope=user_info,user_video_publish&response_type=code&ua=pc&redirect_uri=your_callback_url&state=your_state`
15 }
16 </script>
17 </body>
18 </html>
18 lines HTML