เอกสารนี้อธิบายกระบวนการสร้าง Android WebView, iOS UIWebView หรือออบเจ็กต์ที่คล้ายกัน เพื่อให้ผู้ใช้สร้างช่อง YouTube แล้วคืนการควบคุมให้แอปพลิเคชันของคุณ แอปพลิเคชันของคุณควรใช้โฟลว์นี้เพื่อจัดการข้อผิดพลาดของ API ที่เกิดขึ้นเมื่อผู้ใช้ที่มีบัญชี Google ที่ไม่ได้ลิงก์พยายามดำเนินการที่ต้องใช้ช่อง YouTube จริงๆ
กรณีการใช้งาน
ขั้นตอนต่อไปนี้จะอธิบายกรณีการใช้งาน
ผู้ใช้ที่มีบัญชี Google ที่ไม่ได้ลิงก์พยายามดำเนินการที่ต้องใช้ช่อง YouTube ให้เสร็จสมบูรณ์ แอปพลิเคชันจะส่งคำขอ API ที่ได้รับสิทธิ์สำหรับการดำเนินการนั้น
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2026-11-05 UTC"],[],["When an unlinked Google Account user attempts an action requiring a YouTube channel, the application receives a `youtubeSignupRequired` error. The application then opens a `WebView` to `https://m.youtube.com/create_channel?chromeless=1&next=/channel_creation_done`, enabling channel creation. Upon the `WebView`'s URL changing to `https://m.youtube.com/channel_creation_done`, the application closes it and resends the original API request. If the user closes the `WebView` without creating a channel, the action fails.\n"]]