{"id":6037,"date":"2014-04-12T02:53:14","date_gmt":"2014-04-12T02:53:14","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/12\/google-youtube-api-v3-server-to-server-upload-service-collection-of-common-programming-errors-2\/"},"modified":"2014-04-12T02:53:14","modified_gmt":"2014-04-12T02:53:14","slug":"google-youtube-api-v3-server-to-server-upload-service-collection-of-common-programming-errors-2","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/12\/google-youtube-api-v3-server-to-server-upload-service-collection-of-common-programming-errors-2\/","title":{"rendered":"Google YouTube API v3 :: Server-to-Server Upload Service-Collection of common programming errors"},"content":{"rendered":"<p>Our project lets users upload videos to OUR public youtube channel when they are signed into our session. We do not want to require additional OAuth2 verification, and instead follow the follow of Google API v2.<\/p>\n<p>My code (php) and error are below, but my general question is: <strong>can my server make the insert-video POST using my API key\/secrets without requiring the user to authenticate.<\/strong><\/p>\n<p>This question &#8211; Google Calendar API v3 hardcoded credentials &#8211; is very similar. Howevr if CURLing Google for the access_token is the only answer, i&#8217;ll be disappointed. Thanks regardless.<\/p>\n<p><strong>Google API V3 Settings:<\/strong><\/p>\n<pre><code>Client ID:  xxxx.apps.googleusercontent.com\nEmail address:  xxxx@developer.gserviceaccount.com\nClient secret:  xxxx\nRedirect URIs:  http:\/\/fbtabs.imagendigital.co\/unilever\/sedal\/surprise\/galeria\nJavaScript origins: https:\/\/fbtabs.imagendigital.co\nAPI key:    \nAIzaSyBgS-jMJQUPIiAyX20xC-encFWTPsR7qxQ\nReferers:   \nAny referer allowed\nActivated on:   Jul 4, 2013 1:21 PM\nActivated by:    xxxx@gmail.com - you\n<\/code><\/pre>\n<p><strong>Code:<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Our project lets users upload videos to OUR public youtube channel when they are signed into our session. We do not want to require additional OAuth2 verification, and instead follow the follow of Google API v2. My code (php) and error are below, but my general question is: can my server make the insert-video POST [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6037","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6037","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=6037"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6037\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=6037"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=6037"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=6037"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}