Node.js File Upload to Google Drive: A Beginner's Tutorial #googledriveapi

preview_player
Показать описание

A service account is a special type of Google account that can be used to authorize applications to access Google APIs. Service accounts are often used in server-side applications, where it is not possible to use a traditional user account.

To upload a file to Google Drive with a service account, you will need to:

Create a service account in the Google Cloud Console.
Download the service account credentials file.
In this video, I will walk you through each of these steps step-by-step.

Benefits of using a service account to upload files to Google Drive:

Improved security: Service accounts do not have passwords, so you do not need to worry about your credentials being compromised.
Scalability: Service accounts can be used to authorize multiple applications to access Google APIs, making it easy to scale your application.
Simplicity: Service accounts are easy to manage and configure.
Who should watch this video:

Anyone who wants to learn more about how to use service accounts to authorize applications to access Google APIs.

🔥 How to find me 🔥

🐦 Twitter: @LindaLawtonDK

#daimto #googleDeveloperExpert #googleDevelopers #LindaLawton
Рекомендации по теме
Комментарии
Автор

Thank you sooo much for this! This saved me so much time and is exactly what I needed!

yerst
Автор

your method is the only one work around, big fat thanks ♥

samehkorashee
Автор

Very detailed and excellent instructions. thank you very much. Save me for my day 😀

tmfishing
Автор

thank you so much for this video, a service account makes this all so easy

stormerthend
Автор

Sorry... I am editing my question... Can a service account open files too? or just create them?

informationtechnology
Автор

Trying this out for our project! Where can I get the value for the "parents" as shown on timestamp 6:30 ?

narg
Автор

I've to store uploaded images from my website in 2 separate folders. Can i move those folders to drive and retrieve the images from drive ??

Alen_Thomas_
Автор

Very good explanation. If the service is in python, does this mechanism of authorization works the same?

ulisesalcaraz
Автор

Excellent! Thanks for sharing your knowledge!

projetoskumon
Автор

Error: Could not load the default credentials. -->im getting this error even I have used the correct credentials

ankit
Автор

How can I make the same but without service account? I want when you open web page then firstly you should sign-in your google acc and all drive requests will be for you account you chose...

vladkrutenyuk
Автор

Was wondering why this example is not shared in a GitHub rep? Makes the process so much easier for new learners that need to understand how this API works.

livingjoke
Автор

I'm stuck on this error
403
GaxiosError: Insufficient Permission: Request had insufficient authentication scopes.

geraldwaweru
Автор

Can you make one, upload to particular folder and subfolder

MrAvelino
Автор

How's no one getting this error 'gaxioserror login required'? What could I be doing wrong?

geraldwaweru
Автор

is there anyway to upload the file and give permission to specific users and authenticate it in my website using JWT token ?

razorjhon
Автор

Having trouble. I get a 404: File Not found '<my folder id>'. The folder is shared with the service account and I have triple checked everything. Anyone else have this problem?

pudder
Автор

Great Video !! Thanks a lot. I have small issue. when I upload id is created. but actually file not uploaded to google drive. need to i share google drive directory with service account. if want how it does ????

doyouknow
Автор

Hi...Greate guide. I have uploaded a bunch of video clips with related subtitles with that specific name. But in the watch mode, I cant see that subtitle... I wonder to know, there is any node.js snippet code to relate clips and movies automatically. Because the number of files is more than I can handle manually?

EBay_Dev
Автор

How do I know if the API I want to use accepts service accounts? I want to upload a video to YouTube

wejesuss-