Retrieve your Channel ID
Puedes utilizar el siguiente formulario para recuperar el ID de tu canal o el ID de otro canal.
-
Si quieres recuperar tu propio ID de canal, autoriza la solicitud configurando el botón Autorizar solicitudes con OAuth 2.0, ubicado en la parte superior del formulario, como ON
. Luego, envía la solicitud haciendo clic en el botón azul en la parte inferior del formulario.
-
Para recuperar el ID de cualquier canal que tenga un nombre de canal de YouTube, establece la propiedad forUsername
en el formulario a continuación con el nombre del canal y la propiedad mine
en false
.
Nota: Este formulario invoca el método channels.list
de la API de datos de YouTube. De forma predeterminada, el formulario establece el valor del parámetro part
en snippet
y el valor del parámetro mine
en true
.
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2024-03-14 (UTC)
[null,null,["Última actualización: 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"]]