我使用從YouTube
API此方法將視頻添加到播放列表:插入視頻到YouTube播放列表
POST /feeds/api/playlists/PLAYLIST_ID HTTP/1.1
Host: gdata.youtube.com
Content-Type: application/atom+xml
Content-Length: CONTENT_LENGTH
Authorization: Bearer ACCESS_TOKEN
GData-Version: 2
X-GData-Key: key=DEVELOPER_KEY
<?xml version="1.0" encoding="UTF-8"?>
<entry xmlns="http://www.w3.org/2005/Atom"
xmlns:yt="http://gdata.youtube.com/schemas/2007">
<id>VIDEO_ID</id>
<yt:position>1</yt:position>
</entry>
正如API的信息,我需要的視頻後,視頻發送到多個視頻添加到播放列表中寫道。
,如果我不喜歡這樣,我得到味精後,20個視頻:
<?xml version='1.0' encoding='UTF-8'?><errors><error><domain>yt:quota</domain><code>too_many_recent_calls</code></error></errors>
有任何其他方式插入視頻播放列表?
您是否嘗試過** YouTube API ***在** C#**中?任何樣品處理配額? – Kiquenet 2015-05-19 09:26:48