2015-12-11 20 views
0

我使用JS youtube API並嘗試上傳視頻 http://newauto46.ru/youtube/upload_video.html 然後,在開發者控制檯上配置了原始網址。 現在我有400產地失配誤差 請求細節Youtube api oAuth 400原產地不匹配

= 
proxy=oauth2relay538900249 
scope=https://www.googleapis.com/auth/youtube.upload https://www.googleapis.com/auth/youtube 
origin=http://newauto46.ru 
response_type=code token id_token gsession 
redirect_uri=postmessage 
state=678581604|0.3528401798 
pageId=106287838926302036687 
client_id=1034451067661-h7v9fipq91k83log7c47f49l1o257rl4.apps.googleusercontent.com 
cookie_policy=single_host_origin 
include_granted_scopes=true 

我能做些什麼呢?

回答

0

問題已解決。我忘了你需要將client_id粘貼到auth.js中,並且upload_video.html