Google drive API javascript #1 | Upload file, Search folder, Create folder to google drive in JS

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 ก.ค. 2024
  • Hi, In this video we will learn how to use google drive API in javascript on the web. Using this API we will search a folder in the user's google drive, create a folder and upload a text file. You can create a full project using google drive API for the portfolio. All the source code coded in this video is given below. You can check out that if you need any help. If you find any issues or have any suggestions then comment below in the comment section.
    Watch Part 2
    • Google drive API javas...
    Check Live Demo
    bit.ly/3f8XUP8
    Source Code:
    bit.ly/3sTMrGt
    References
    developers.google.com/drive/a...
    Chapters:
    00:00 Intro
    01:08 Create Cloud App
    04:44 HTML & CSS
    08:23 Javascript
    #googleDriveAPI
    #HACodes
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 32

  • @thenoob3198
    @thenoob3198 ปีที่แล้ว +1

    THis is an amazing tutorial!!!!

  • @eliaschen
    @eliaschen หลายเดือนก่อน

    OMG this is what i'm looking for, Thanks !!!!

  • @debu4118
    @debu4118 2 ปีที่แล้ว

    Any suggestions for performing same job in VBA script ( Excel) or apps script (Google sheet)?

  • @AdemGENCmuttafi
    @AdemGENCmuttafi 9 หลายเดือนก่อน

    Hello,
    Thank you for this work and sharing.
    I'm an amateur and I have a question for personal use.
    Can a directory be automatically loaded with its contents on my website using cron jop?
    And can this uploaded backup be downloaded to the server when needed?
    Thank you

  • @abhishekvishwakarma2645
    @abhishekvishwakarma2645 2 ปีที่แล้ว

    Great

  • @bouazzaiskandar9032
    @bouazzaiskandar9032 ปีที่แล้ว

    hello sir, i would be thankfull if you suggest me a solution for my problem, so I am trying to make an app where I input a google drive link of a folder than it returns me the URLs and the names of the file contained in the entered folder URL, so do i need to use google drive API or there is an alternative ?

    • @hacodes
      @hacodes  ปีที่แล้ว

      May done with drive api, contact me on FB, I'll give you documentation or may give you source code for that, FB page link is in about of channel

  • @FrankGP.com.
    @FrankGP.com. 2 ปีที่แล้ว

    make one to use images and videos on the web with url

  • @razorjhon2622
    @razorjhon2622 ปีที่แล้ว

    Is there anyway to give a share permission to specific people after uploading the files ? also if it possible is there anyway to authorize list of files with JWT token on the frontend ?

    • @hacodes
      @hacodes  ปีที่แล้ว +1

      Yes, you can enable "share to everyone" for a file using API, and documentation must have that. Other, everything going on frontend, authorization and access of file. For more info contact me on FB.

  • @suryasudeep3124
    @suryasudeep3124 2 ปีที่แล้ว +1

    Could you please make a video on searching for a name in excel using javascript

    • @suryasudeep3124
      @suryasudeep3124 2 ปีที่แล้ว

      @@hacodes Thanks Sir
      I will wait for the video

  • @fazekas100
    @fazekas100 ปีที่แล้ว

    thanks for the amazing tutorial bro , I´m trying to send a pdf file instead of a txt how can I do that ?

    • @hacodes
      @hacodes  ปีที่แล้ว

      You just need to change metadata name and mimeType in upload function. Also provide blob of the PDF file.

  • @user-bj8nb6tq1c
    @user-bj8nb6tq1c 4 หลายเดือนก่อน

    Hola excelente video, que hago si no me reconoce la clase "gapi"

  • @rafaelsales9958
    @rafaelsales9958 2 ปีที่แล้ว +2

    is it possible to allow any user to access my solution and upload a file without them having to log into their google account? In this case, it would remove the authentication from the header.

    • @markgame9682
      @markgame9682 ปีที่แล้ว

      x2

    • @mranarquia1029
      @mranarquia1029 9 หลายเดือนก่อน

      @@markgame9682 you could do it??? I need create many google sheets in only one acount through javascript button in a web page

  • @user-ii9qw5cc5m
    @user-ii9qw5cc5m หลายเดือนก่อน

    How to set video only view but cant download with google API. Help me plus, i need set this setting for many video😢

    • @user-ii9qw5cc5m
      @user-ii9qw5cc5m หลายเดือนก่อน

      How to set video only view but cant download with google API. Help me plus, i need set this setting for many video😢

  • @TuanTran-pq9eb
    @TuanTran-pq9eb ปีที่แล้ว

    After upload, how can we get download link of uploaded file

    • @hacodes
      @hacodes  ปีที่แล้ว

      You can get help from the second part of this video

  • @muhammadusmanakram406
    @muhammadusmanakram406 ปีที่แล้ว

    The code in the video is different than the code in the website link you provided and its not working.

    • @hacodes
      @hacodes  ปีที่แล้ว

      The code in the website is just to explain. Scroll down to the bottom of the blog page, if you want demo then click demo link and if you want complete source code written in video, click on the source cod link.

  • @balsjenza
    @balsjenza ปีที่แล้ว

    How to get the project app verified in google cloud?

    • @hacodes
      @hacodes  ปีที่แล้ว

      You need a domain with project published. Provide some details about your project name, logo, privacy, scopes your are using in api and a demo video on how user use your project. After some days they verify your project.

    • @balsjenza
      @balsjenza ปีที่แล้ว

      @@hacodes okay. thank you.

    • @balsjenza
      @balsjenza ปีที่แล้ว

      I can't use the features if it's not verified right? I am only going to use the app for a school project and not really publish it to the web.

    • @hacodes
      @hacodes  ปีที่แล้ว

      You can use all the features without verify your app. But when user login with Google then Google says it's un verified app. This is just one thing, No other disadvantage of unverified app. If app for school students then no matter it's verified from google or not.

    • @balsjenza
      @balsjenza ปีที่แล้ว

      @@hacodes Okay thank you so much. You greatly help me.