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 و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-08-21 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","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"]],["تاريخ التعديل الأخير: 2025-08-21 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eRetrieve your channel ID by authorizing the request via the OAuth 2.0 button and then submitting the form.\u003c/p\u003e\n"],["\u003cp\u003eFind another channel's ID by setting the \u003ccode\u003eforUsername\u003c/code\u003e property to the channel name and the \u003ccode\u003emine\u003c/code\u003e property to \u003ccode\u003efalse\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis form utilizes the YouTube Data API's \u003ccode\u003echannels.list\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe form defaults the \u003ccode\u003epart\u003c/code\u003e parameter to \u003ccode\u003esnippet\u003c/code\u003e and the \u003ccode\u003emine\u003c/code\u003e parameter to \u003ccode\u003etrue\u003c/code\u003e.\u003c/p\u003e\n"]]],["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"],null,["# Retrieve your Channel ID\n\nYou can use the form below to retrieve your channel ID or another channel's ID.\n\n- To retrieve your own channel ID, authorize the request by setting the **Authorize requests using OAuth 2.0** button at the top of the form to `ON`. Then send the request by clicking the blue button at the bottom of the form.\n\n- To retrieve the channel ID for any channel that has a YouTube channel name, set the `forUsername` property in the form below to the channel name and the `mine` property to `false`.\n\n**Note:** This form calls the YouTube Data API's [channels.list](/youtube/v3/docs/channels/list) method. By default, the form sets the `part` parameter value to `snippet` and the `mine` parameter value to `true`."]]