2013-08-29 39 views

回答

1

這可以通過使用YouTubeAPI v2.0輕鬆完成。查看this link

POST /feeds/api/videos/VIDEO_ID/ratings 
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:gd="http://schemas.google.com/g/2005"> 
    <gd:rating value="4" min="1" max="5"/> 
</entry> 
+0

無效鏈接規範 ...............? – Trikaldarshi

+0

鏈接正在運行https://developers.google.com/youtube/2.0/developers_guide_protocol_ratings –

+0

我更新了之前查看更新 – Trikaldarshi

相關問題