【问题标题】:Cant find Youtube data v3 for channel list找不到频道列表的 Youtube 数据 v3
【发布时间】:2017-11-23 14:13:37
【问题描述】:

朋友们, 我想在查询中搜索属于某个类别(categoryId)的频道。 在应用控制台的例子中(https://developers.google.com/apis-explorer/),itsok.

但是当我尝试使用我的密钥运行任务时,搜索没有返回任何结果。

我用这个键:

https://www.googleapis.com/youtube/v3/channels?part=snippet&categoryId=GCQmVhdXR5ICYgRmFzaGlvbg&key={YOUR_API_KEY}

【问题讨论】:

    标签: youtube youtube-api youtube-data-api


    【解决方案1】:

    尝试使用videoCategoryId 参数,该参数根据category 过滤视频搜索结果。如果为此参数指定值,则还必须将type 参数的值设置为video

    如果请求包含无效的搜索过滤器和/或限制组合,您可能会遇到 badRequest (400) invalidSearchFilter 错误。

    请注意,如果为eventTypevideoCaptionvideoCategoryId 设置值,则必须将 type 参数设置为 video strong>、videoDefinition、videoDimension、videoDuration、videoEmbeddable、videoLicense、videoSyndicated 或 videoType 参数。

    【讨论】:

      猜你喜欢
      • 2018-10-31
      • 2015-12-17
      • 2014-10-09
      • 1970-01-01
      • 1970-01-01
      • 2015-06-27
      • 1970-01-01
      • 2016-12-11
      • 2014-04-04
      相关资源
      最近更新 更多