December 8, 2022

WeAnswer

The complete guide to the beginners as well as to the experienced Web Developers

Google drive picker demo

File pick from Google Drive.

Follow the steps

  • Download Code
  • How to download the file from google drive selected
  • Create account https://console.developers.google.com/
  • Create project
  • Library->Search google drive and enable API
  • Library->Search google picker and enable API
  • Create a credential for developerKey ->API Key -> Browser key and Get API key
  • Create credential clientId->Oauthclient->Web application->Get clientId
  • if your demo from localhost then Authorised JavaScript origins = “http://localhost” and Authorized redirect URIs =”http://localhost/googleDrive/”
Above API Key and Client id replace in below code

  • File download code