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 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده 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"]]