本文介绍了如何获取频道ID(YouTube API v2)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  https:// 

如果我知道作者或频道ID,则链接可以正常工作,但我需要获得我的频道ID。 gdata.youtube.com/feeds/api/videos?author=[Channel ID]& orderby = viewCount



我想使用我的Google帐户(我的用户名和密码),并使用v2 Google Gdata Youtube API获取我的频道ID,而不是v3



感谢您的帮助。 / p>

Astin Runa

解决方案

获取YouTube频道[用户名]或[频道ID],您只需导航到频道主页并查看浏览器的导航栏并查找以下任一项:


  1. / channel / / user /

  2. 接下来的文本以下一个/复制文本而不用/,并且您拥有自己的渠道或用户ID。

感谢频道ID代码以及您没有用户ID代码的情况。



用户ID代码: ,以获得关于如何找到[用户ID]的YouTube频道的视频演示,并且是我找到我的信息的地方。



特里

If i know author or Channel ID then link is worked but i need get my channel ID.

https://gdata.youtube.com/feeds/api/videos?author=[Channel ID]&orderby=viewCount

But i don't have a channel ID.I want using my Google account (My username and password) and get my channel ID using v2 Google Gdata Youtube API, not v3

Thanks for help.

Astin Runa

解决方案

To get a YouTube channels [User ID] or [Channel ID], you simply need to navigate to the channels home page and look at the navigation bar of your browser and look for either:

  1. "/channel/" or "/user/"
  2. The text that follows and ends with the next "/" copy that text without the "/" and you have your Channels or Users ID.

Thanks for the Channel ID code and in case you don’t have the User ID code.

User ID Code: http://www.youtube.com/rss/user/[User_ID]/feed.rss which will translate in your browser to the relevant code, that is required to work. Unfortunately I can't seem to find any such code that work the same for channels with only Channel ID displaying and not the User ID which would have been great.

Check out Derral Eves "How to Find the RSS Feed for Your Youtube Channel": https://www.youtube.com/watch?v=DevXRvPa3dU, for a visual demonstration on how to find the youtube channels RSS Feed for a [User ID] and is where I found my information.

Terry

这篇关于如何获取频道ID(YouTube API v2)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 11:36
查看更多