Refresh tokens may stop working after they are granted, either because: The application has a status of 'Testing' and the consent screen is configured for an external user type, causing the token to expire in 7 days With reference to Github page: github.com/googleapis/google-api-nodejs-client#readme
@buraksurumcuoglu83032 жыл бұрын
Could you make a video showing how to prevent the refresh tokens expiring after 7 days? I've changed my app's publishing status from "Testing" to "Production" but still got the same problem after a week.
@mxo3212 Жыл бұрын
can you make a video on this plz
@bekjonbakhromov Жыл бұрын
how can i use it after 7 days?
@ZiziKarma Жыл бұрын
Thank you for the github reference. I'm struggling to get through it and make my application retrieve a new refresh token once the old one expires. Are you against making a video explaining how to use this API in production, where you don't have to manually get a new refresh token after the old one expires?
@Lerndemy Жыл бұрын
@mafiacodes How can i add feature like import files from google drive to my platform, my platform is running in nestjs backend with s3 for storage
@enochdollar-bill330626 күн бұрын
of all the videos yours was the absolute best. u explained so well. u deserve a lot. thank you.
@mathewsedwirds45215 ай бұрын
Still working even two years later. Thanks bro!
@arashaadd3 жыл бұрын
I'm busy watching your other videos for a project and they helped alot bro 😭. Thanks man, I greatly appreciate you sharing with us 💪
@juliojustice31003 жыл бұрын
I dont mean to be so off topic but does anybody know a method to log back into an Instagram account?? I was dumb lost my login password. I appreciate any assistance you can offer me
@PayneDeathz Жыл бұрын
Thank you so much! You have saved me so much time exploring the documentation and reading some random blogs on how to implement Google Drive.
@mafiacodes Жыл бұрын
You're very welcome!
@dineshtutorialhindi Жыл бұрын
Very good explanation for the API Setup. It helped me. Thanks
@RonKirchner Жыл бұрын
You are my hero thank you. That was very helpful and worked all exactly like in your demonstration!
@ayushkhamar4642 Жыл бұрын
Thanks bro, Couldn't find a better video!!!
@abedabdesselem94912 жыл бұрын
Thank you so much, you are a life saver, exactly what I was looking for.
@LAVISHGOYAL3 жыл бұрын
Woah your content is super cool man! Thanks, watched few of your videos on trot, thanks! Subscribed as well!
@rsgamer22552 жыл бұрын
Take a week just learning the basics and you will be good, I been using soft soft since it was Fruity Loops back in 03, and still learn
@taniakhan53192 жыл бұрын
you the soft soft here is legitimate. Even my operating system is downloaded here lmao.
@vimalgalani77153 жыл бұрын
Thanks man. This is what I was looking for. You saved me. 🙌🙌
@mafiacodes3 жыл бұрын
Glad to hear it!
@MrAupire Жыл бұрын
I really love your accent
@RicardoRodriguez-zg7gw3 жыл бұрын
Thanks best tutorial of google drive api!
@mafiacodes3 жыл бұрын
Many many thanks
@tanpham14593 жыл бұрын
Thank you for another amazing video. You saved me tons of time.
@andersonbandeirabbbandeira134110 ай бұрын
Thank you so much! You're a hero :D
@izzi9174 ай бұрын
This tutorial is Gold
@marcosfalconi276510 ай бұрын
Thank you for sharing your knowledge
@anuragpadolkar2023 ай бұрын
Thank you so much bro, it works!❤
@danielrch.71363 жыл бұрын
ThanksThis video help me a lot.
@gosienna2 жыл бұрын
thank you for such detailed instruction!
@vasilnadiradze86384 ай бұрын
thank you very much, it was so helpful ❣❣❣
@AndreasAanestad2 жыл бұрын
Your video helped me alot! Thanks so much for sharing the knowledge!
@nobel1378 Жыл бұрын
Thanks alot ❤❤❤
@teacherspoll44082 жыл бұрын
YOU ARE THE BEST!!!!!!!
@KaitoProduction3 жыл бұрын
thank you for toturial
@matthelosh2 жыл бұрын
Really Useful and simple.. Thanks..
@muratasarslan23592 жыл бұрын
Thanks a lot 🙂
@TechAventure2 жыл бұрын
Awesome and informative
@karthikeyan98922 жыл бұрын
Thanks for the video. I like to show progress bar for upload or download and came to know that we can do that with resumable upload. Blogs on the internet are not clear. Can you upload a video on it. As soon as possible please. Thank you once again.
@asifsuncuts95573 жыл бұрын
Good stuff and very informative. Just want to share that I was looking for "how to get refresh token from my web server or desktop app" and you did this with few magic clicks on developer console. Killing the purpose of how to get that on production.
@mafiacodes3 жыл бұрын
Use google oauth signin with the required scope of google drive, it is that simple...
@wassup102 Жыл бұрын
thank you sir
@shawncrocker70372 жыл бұрын
That was a great video!
@MrAvelino20103 жыл бұрын
How to upload a file to particular folder? I tried but didn't return the folder id
@nicholasyelle4972 жыл бұрын
Great tutorial. Appreciate it, thank you.
@carloseduardosanchezcarras41518 ай бұрын
muy bueno brother vi el video subtitulado pero igual entendi full gracias
@marcoguilherme24772 жыл бұрын
Segui o passo a passo e funcionou direitinho. Muito obrigado!
@swastikchandugaming24932 жыл бұрын
Thanks... This helped me
@itsjinendrajain3 жыл бұрын
Your video Really help me, thanks bro
@trulymittal3 жыл бұрын
Refresh tokens may stop working after they are granted, either because: The application has a status of 'Testing' and the consent screen is configured for an external user type, causing the token to expire in 7 days
@jeancoelho53302 жыл бұрын
How to work around this and get the refresh token with no expiration?
@hicee2 жыл бұрын
@@jeancoelho5330 i have the same question
@jeancoelho53302 жыл бұрын
@@hicee I turned my application in to production mode and worked for me, until now, but i was reading about it and looks like it will work for 200 days. I dont have a clue how to get the refresh token with no expiration
@buraksurumcuoglu83032 жыл бұрын
@@jeancoelho5330 I created a brand new tokens from the ground up and then turned my application to production mode, I got the refresh token expiration error after 1 week again...
@ethanlal45173 жыл бұрын
Thanks a lot!
@akashkunjalwar3921 Жыл бұрын
Thanks for the tutorial. I have a query here, I can download it and can view it, but how would I use the url or id or any information to show the image inside an application in UI? Let me put it in simple words, how would I use the information to display the picture in my react application. Could you please help me on this?
@mafiacodes Жыл бұрын
I guess ur looking for sign in with google, here’s the video for that How to use One-tap Google sign in, including idToken validation server side kzbin.info/www/bejne/d56ToaWqlK2BoJY
@akashkunjalwar3921 Жыл бұрын
@@mafiacodes I'm trying to get the url of the image I upload in the drive to provide it as an "src" attribute in , I'm unable to fetch the image that I uploaded in the drive and display it in the UI. It just shows the "alt" text of image. Hope I was able to convey my issue. I certainly get the webViewLink and all, but I'm unable to use it in "src" attribute
@Algo_RL Жыл бұрын
the refresh token stops working (expires) after a few days, so it's not practical to use in coding.
@mafiacodes Жыл бұрын
Read pinned comment
@christoferi9636 Жыл бұрын
There is a way to read a json from google Drive directly with ReactApp without Node.js??(and which is a library)
@orhancekic_3 жыл бұрын
Nice video for coding a ad cloaker. Nice tutorial, rep!
@brightertomorrow33433 жыл бұрын
My access token is expiring after every one hour. Is there any way to prevent expiring? I want my token unexpired forever
@gowthamc13893 жыл бұрын
Same problem, how to make tokens unexpired
@brandt0033 жыл бұрын
You need to fetch a new access token everytime using your Client-ID, Client-Secret and Refresh token. Problem with this tutorial is that the refresh token also gets reset after a week since the application is unpublished.
@SanjaySinghYT2 жыл бұрын
You can regenerate your access token using refresh token and if refresh token expire , you can generate refresh token using Authorization code
@miguelgarzonnaranjo28583 жыл бұрын
Amazing video, thanks a lot!
@sm1le_with_me3 жыл бұрын
can you tell me about the refresh token working time? we need to change it regularly or it will work for a life time.
@brandt0033 жыл бұрын
While the app is in testing mode it will expire after a week. If the app is published the refresh token won't expire.
@buraksurumcuoglu83032 жыл бұрын
@@brandt003 I switched to production mode, the refresh token still expires after a week, any idea why?
@rushilverma36063 жыл бұрын
Hi dude great video, How can I upload file in a specific folder
@venkatram39363 жыл бұрын
Please make a video how to exchange Authentication code to get access token and refresh token from Android app
@fetz52483 жыл бұрын
If I call method with button, must I put all the connect google drive data in method and call it?
@arne18812 жыл бұрын
I need to do this 100% automatically. I'm setting up an web app, that needs to do everything google drive related server side, to the organizations google drive account. Is there any way to do this without the manual confirmation, where u need to allow the app to access google drive etc?
@nhattung95683 жыл бұрын
Thanks man !!!!!!!!!!!!!!!!!!!!!!
@ProjectAryawarta2 жыл бұрын
Do you have any tutorial for consent screen as internal? I want to upload some application data and manage them on Google drive not user data.
@Jamini062 жыл бұрын
Are you using the Producer version, if so are all the effects and tutorial you use in the video included as standard with the Producer
@mafiacodes2 жыл бұрын
I don't know what's Producer ?
@abhinavdubey81122 ай бұрын
What is the DriveScope used while posting permission create API. I'm able to successfully upload the file but facing permission issue while generating the public URL
@SaiKumar-tg6ct3 жыл бұрын
Nice explanation. Please make a video on upload image file to aws S3 bucket
@mafiacodes3 жыл бұрын
As soon as possible
@samtyagi63112 жыл бұрын
Thanks!
@KyouKo-x7g3 жыл бұрын
wow, thx a lot, is the token finally , we get can use it forever ?????
@jaibunnisamohammad9988 Жыл бұрын
please make a tutorial of authorizing app from php,curl and accessing refresh token without playground
@mohdtamsil292 жыл бұрын
hey can you please tell me if the refresh token which we generated will expire? because if it does we could not be able to do crud operations afterwords
@mzpizote Жыл бұрын
Can i do embed links with this api for my photos to put it in my web site?
@SoozaV3 жыл бұрын
Hi, how can we create an upload / download progress bar? Thanks for the video.
@arnisudheendra70722 жыл бұрын
how to find out what authentication parameters each api requires? for example for dialogflow api where can i find the required parameters and that particular script required to call that api form our node js application?
@aakashwankhede923 жыл бұрын
Hello, I have followed your steps, It worked. But I need to change the refresh token in 3-4 days because the previous token gives invalid grant error, Plz Help
@ashish.narnoli3 жыл бұрын
Hi, any suggestion on how to use Firebase AuthToken to authenticate Google drive API?
@habibulislam33862 жыл бұрын
You should show the docs reading also how you have got those functions, methods etc. Otherwise it looks like you have memorized everything.
@aishwaryam10523 жыл бұрын
The best video😭
@slambu6664 ай бұрын
Can google API used for transfer ownership data?
@ABUTAHER-wg7gz Жыл бұрын
does provide refreshToken without redirect url oauthplayground?
@galafamily3112 жыл бұрын
Can one use Apex instead of js to upload to google drive?
@chiraggupta95473 жыл бұрын
If I want to upload image in mega so what can I do?
@ashwinjoshy59062 жыл бұрын
This helped me a lot, Thank You. P.S i didn't understand the pinned comment, can someone help me with it
@h.nazmulhassanrakib50582 жыл бұрын
is This possible without nodejs.. I want to integrate with react.js
@raveollorza18772 жыл бұрын
For once, the software is actually really useful
@jins5553 жыл бұрын
thx a lot, u r a boss
@FernandoSouzadroid2 жыл бұрын
Hello, would you like to use api for the following: I have a wordpress site, I put files for download, I put the link to my google drive, the user clicks on the link and this file is added to his account? Thanks
@mafiacodes2 жыл бұрын
How ?
@justinnguyen96163 жыл бұрын
Can you share your theme setting of your VS code such as font, color and icon. Your theme is gorgeous.
@mafiacodes3 жыл бұрын
Operator mono Snazzy operator Material design
@ExpoDev_Dash5 ай бұрын
please make a video on how to publish it
@save7790 Жыл бұрын
Hi, nice video! Have you paid for using that google drive APIS? Thanks!
@mafiacodes Жыл бұрын
nope...
@romanryaboshtan92702 жыл бұрын
24:03 you can write fileId, not fileId:fileId, it's a shorter object fields write form
@diegolobos1612 жыл бұрын
How can I get the token without using the playground, that is, using my own frontend?
@albasrawiecloud25503 жыл бұрын
Hi teacher, what kind of error am I having? OSError: [WinError 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted
@mafiacodes3 жыл бұрын
Seems like related to ur operating system
@Morgan_U2 жыл бұрын
Help here. I want to embed an image in HTML using a link, is there a way to do this? i want to use thank you very much in advance)
@oeneikaphotos38263 жыл бұрын
THANKS!!!!!
@hugocenturion60562 жыл бұрын
Hi! Is there a way to delete files by name instead of FileID?
@void2623 Жыл бұрын
how do you get the file id of a file dynamically?
@technoinfoworldwide23293 жыл бұрын
make one series about blog post or ecommerce project using node,ejs,redis,jwt and others .you havent made complete project on these things sir
@nohaxito3 жыл бұрын
Hello, good explanation but I have a query, is there a way to upload folders that contain other folders? I want to make that for example a folder of a VPS be uploaded to Drive, is it possible? other one more thing, what is mimeType: "image / jpg"?
@bot67312 жыл бұрын
Jhony Reder Escriba Bautista hace 1 segundo I'm not sure if it's the most efficient way to do it but here's my answer: first create a folder on your drive, when creating the server it returns a .json of this .json you can rescue the id . The following uploads should be done with a loop and using the Id of the folder to upload them to the folder you just created. You can try with the MIMETYPE = 'application/octet-stream' in case you don't have the specific MIMETYPE for each file .
@bharatjagoar60922 жыл бұрын
twice in video you have said "i will explain you", like what is request body in drive.files.create( ) and after last timestamp also !! ... please sir explain the code because copy paste doesnt works for me .
@Alex-ok7mg2 жыл бұрын
A large file upload addition would be an good extension to its capability.
@cinebody8941 Жыл бұрын
Take a look at the Multipart upload docs. Allows retry logic and the ability to insert MASSIVE files.
@bjp2320043 жыл бұрын
Thanks for sharing this video. I have a use case where any user of my web application uploads the file that should upload into google drive defined for that application. Right now it's working for only one master user by which I have created the google api credentials. Not working if the user logged in by another email id. Any idea regarding that?
@mafiacodes3 жыл бұрын
u need to use oauth google authentication and then use the respective tokens...
@sagar1403 жыл бұрын
can we also upload using axios in react only ??.... not using node.js
@mafiacodes3 жыл бұрын
Never without a backend, since u would be exposing ur secrets on frontend
@islam_in_the_west2 жыл бұрын
Hello,can you show how to do it for android studio?
@rendisaputra39493 жыл бұрын
sir what is the name of your theme code editor?
@rohitpurkait69513 жыл бұрын
One of the problems that I faced while doing this, is that the oauth conset screen was showing error. In order to solve that problem just put your app id in the app name and it will pass.
@madhav34442 жыл бұрын
Are you using flutter app?
@madhav34442 жыл бұрын
I'm trying to integrate these functions in my flutter app, but permissions.create(role : dshhs...... Type :....) does not work, I couldn't able to find any documentation to implement these things. Please help
@tee-hee9553Ай бұрын
why using the incognito web ? I mean how to click to show that tab out ?
@doctamayot3 жыл бұрын
Hi, great video, How i choose the folder in upload