Retrieve your Channel ID
אפשר להשתמש בטופס הבא כדי לאחזר את מזהה הערוץ שלך או מזהה של ערוץ אחר.
-
כדי לאחזר את מזהה הערוץ שלכם, צריך לאשר את הבקשה על ידי הגדרת הלחצן אישור בקשות באמצעות OAuth 2.0 בחלק העליון של הטופס לערך ON
. לאחר מכן שולחים את הבקשה על ידי לחיצה על הלחצן הכחול בחלק התחתון של הטופס.
-
כדי לאחזר את מזהה הערוץ של כל ערוץ עם שם של ערוץ YouTube, צריך להגדיר את נכס forUsername
בטופס שלמטה לשם הערוץ ואת הנכס mine
כ-false
.
הערה: הטופס הזה מפעיל את השיטה channels.list
ב-YouTube Data API. כברירת מחדל, הטופס מגדיר את ערך הפרמטר part
ל-snippet
ואת ערך הפרמטר mine
כ-true
.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-03-14 (שעון UTC).
[null,null,["עדכון אחרון: 2024-03-14 (שעון UTC)."],[[["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"]]