Google API Service Account and nodejs

I want to be able to programmatically update a Youtube playlist using nodejs. In theory, this is possible using the Google API and jsonc.

As I want to do this without user interaction I have been battling with using a Google API Service Account on nodejs server.

Notice there is no API Client Library for Javascript listed on this page.

I then stumbled across this message in the Google documentation for using Service Accounts with Google Drive:

For security reasons service accounts are not supported in client-side Javascript. Service accounts for server-side Javascript is not yet supported.

Is this saying that what I want to achieve is not possible? I cannot use a Service Account on a NodeJS server to make changes to a playlist without user interaction?

Answers


Correct. Not yet supported. There have been security problems with service accounts. This may become possible in the future.


Since yet there is no integration via Javascript for security reasons , you maybe want to try implementing this library.

https://github.com/extrabacon/google-oauth-jwt


Need Your Help

Head First Java, Chapter 16, Be The Compiler exercise query

java arraylist collections

I have just finished reading chapter 16 of Head First Java, which is about collections and the use of generics. There is a "Be the compiler" exercise at the end of the chapter that gives 9 lines of...

NSImageRep wrong resolution?

objective-c size tiff nsimage nsimagerep

MacOS 10.7.4 comes with new icons having image reps at 144 DPI. The bad thing is that when I load one of these icons in a NSImage I only get reps having a size of 512px. I mean: I load a 1024px/144...