Retrieve your Channel ID
你可以使用以下表單擷取頻道 ID 或其他頻道 ID。
注意:這份表單會呼叫 YouTube Data API 的 channels.list
方法。根據預設,表單會將 part
參數值設為 snippet
,並將 mine
參數值設為 true
。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-03-14 (世界標準時間)。
[null,null,["上次更新時間:2024-03-14 (世界標準時間)。"],[[["Retrieve your channel ID by authorizing the request via the OAuth 2.0 button and then submitting the form."],["Find another channel's ID by setting the `forUsername` property to the channel name and the `mine` property to `false`."],["This form utilizes the YouTube Data API's `channels.list` method."],["The form defaults the `part` parameter to `snippet` and the `mine` parameter to `true`."]]],["To retrieve your channel ID, authorize the request via OAuth 2.0 and submit the form. For another channel's ID, set the `forUsername` property to the channel name and `mine` to `false` in the form. The form utilizes the YouTube Data API's `channels.list` method. By default it uses `snippet` for the `part` parameter, and sets the `mine` parameter to `true`.\n"]]