这是一个简单的问题 . 我们需要使用YouTube API将所有视频上传到我们的Android应用中的 Channels . 根据YouTube API v2.0文档,这是一个非常简单的案例 - https://developers.google.com/youtube/2.0/developers_guide_protocol_video_feeds#User_Uploaded_Videos . 他们说:
为确保API响应包含用户视频的最新信息,请勿在请求中使用start-index和max-results之外的任何参数 . 使用其他参数(如orderby)的请求将返回缓存的结果 .
大!根据上面的文档,URL是https://gdata.youtube.com/feeds/api/users/itcuties/uploads,但返回的结果是不是't contain all of our videos. What'正在进行?问题是, how to get all the videos uploaded by a given user using YouTube API?
1 回答
好的,案例解决了 - YouTube API - Get All Videos From User limits? :)
我们需要添加最大结果参数 - https://gdata.youtube.com/feeds/api/users/itcuties/uploads?max-results=50
回到编码!祝你今天愉快!