Tag: youtube data api

如何find可以在手机上播放的video?

YouTube数据API是否仍然不支持此function? 我一直在努力寻找一种超过几个月的方式,而且似乎没有一种可靠的方法来检索可以绝对播放的video列表,而不受限于某个设备。 参与团队的人的回答将非常感谢。 Youtube API:在移动设备上播放的searchvideo可能是相关的,但我怀疑这种方法是否可以用来解决“内容拥有者禁止在这个平台上播放这个video”types的限制。 更新: 2015年11月7日,仍然无法过滤可在移动设备上播放的video。 更具体地说,我想使用YouTube数据api v3find可在embedded式iFrame(例如iOS帮助程序库 )上播放的video 。 这里列出了search查询的可用参数。

Google OAUTH:请求中的redirectURI与注册的redirectURI不匹配

我正尝试从基于Java的networking应用程序上传到YouTube,我花了几天的时间来了解问题所在以及问题所在,我无法得到它,因为现在我正在将我的头发从头上拉开。 我在Google Console中注册了我的networking应用程序,所以我得到了一对客户端ID和秘密,并可以使用我的configuration下载JSONtypes的文件。 所以这里是configuration: { "web":{ "auth_uri":"https://accounts.google.com/o/oauth2/auth", "client_secret":"***", "token_uri":"https://accounts.google.com/o/oauth2/token", "client_email":"***", "redirect_uris":["http://localhost:8080/WEBAPP/youtube-callback.html","http://www.WEBAPP.md/youtube-callback.html"], "client_x509_cert_url":"***", "client_id":"***", "auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs", "javascript_origins":["http://www.WEBAPP.md/"] } } 我有可能获得Google的默认url吗? The redirect URI in the request: http://localhost:8080/Callback did not match a registered redirect URI 它总是给我默认的http://localhost:8080/Callback URL而不是我的。 和IDE控制台显示我: Please open the following address in your browser: https://accounts.google.com/o/oauth2/auth?client_id=***&redirect_uri=http://localhost:8080/Callback&response_type=code&scope=https://www.googleapis.com/auth/youtube.upload Attempting to open that address in the default browser now… 我正在使用最后一个版本的依赖项: […]

Youtube API v3获取用户video列表

使用Youtube API v2,可以轻松获得video。 只需发送一个这样的查询: http://gdata.youtube.com/feeds/mobile/videos?max-results=5&alt=rss&orderby=published&author=OneDirectionVEVO Youtube api v2还有一个用于构build查询的交互式演示页面: http : //gdata.youtube.com/demo/index.html 用Youtube API v3,我不知道相应的方法。 请用api v3指点一下。 谢谢!

如何从YouTube API获取YouTubevideo缩略图?

如果我有YouTubevideourl,有没有办法使用PHP和cURL从YouTube API获取关联的缩略图?