Questions tagged [google-drive-picker]
67 questions
1
vote
0 answers
Exporting file from gdrive as html and convert into wordpress post
I am working on WordPress plugin, which basically converts text files/MS Word Documents into WordPress Posts.
Flow is really simple, you just open dialog box and select files from PC and import.
Now I am trying to integrate Google Drive Picker so…

mrabro
- 1,097
- 4
- 13
- 27
1
vote
0 answers
Google Drive Picker failing with "docs.google.com refused to connect" after setting Cross-Origin-Opener-Policy and Cross-Origin-Embedder-Policy
To support usage of SharedArrayBuffer in our web app we had to add the response headers:
Cross-Origin-Embedder-Policy: require-corp
Cross-Origin-Opener-Policy: same-origin
We have also tried:
Cross-Origin-Embedder-Policy:…

Bryan
- 11
- 2
1
vote
0 answers
How to download to server rather than client a Google drive file converted to PDF?
I am using "The Google Picker API" with asp.net web application to retrieve a file saved in Google drive and convert it to PDF using google export, then I want to save the PDF file to web server
I am getting the download link of Google drive file…

Kemal AL GAZZAH
- 967
- 6
- 15
1
vote
0 answers
Is there a way to select and download file from google drive using react js google drive picker and python?
I want to download file from google drive using React google drive picker and python flask as a backend. And I'm kinda having hard time to do this.
here's my code in frontend but i still dont have a code yet in backend. Or can i do this in react js…

Jore Dawal
- 59
- 1
- 10
1
vote
1 answer
React and Google Drive Picker
I created a file upload button via google drive in my project using React - javascript. I did this using npm i react-google-drive-picker. I used the code you see next:
import { useEffect } from 'react';
import useDrivePicker from…

ays
- 11
- 1
1
vote
1 answer
Google Drive file picker is blocked by google
An application I work with has a js file picker scripted based on this https://gist.github.com/Daniel15/5994054.
Its very old but has been working up until recently with only minor modifications. Now whenever someone tries to use the file picker a…

user794846
- 1,881
- 5
- 29
- 72
1
vote
1 answer
How can I convert a PNG Chunks into an PNG image?
After downloading an image from google drive using the google drive API, In response what i get is a PNG Chunks text of my downloaded image. But, I could't get the png file from that text. How can i convert it to a PNG by javaScript?
// google…

Rokonuzzaman Robin
- 21
- 2
1
vote
1 answer
Google Picker, even when filtered, shows shortcuts that point to files that are not owned by me
I am using the Drive Picker Api and making a drive picker in a web page. I am showing only the drive files or items that are owned by user (equivalent to using query as owner="me").
Now I am getting an issue in picker: It is also showing shortcuts…

Ashraf
- 135
- 10
1
vote
2 answers
Google Drive API: Download file gives lockedDomainCreationFailure error
I'm trying to download a file with the Google Drive File Picker (based upon this example https://gist.github.com/Daniel15/5994054). The File Picker works fine up to the point where it comes to download a file. It runs into a 400 Bad-Request…

Suppenhuhn79
- 93
- 6
1
vote
1 answer
Google API - Access Permission Content
We are using the Google API to upload the files from the Google drive. Before entering into Google Drive, we asking the access permission popup to show the some content. In this case, we have used the auth scope as…

user7478383
- 43
- 4
1
vote
1 answer
Check legitimacy of google link through API
Check legitimacy of google link through API. I have input text area in my visualforce page where user enters google drive docs, sheet or any google drive file URL. And I want to check that URL is real google drive file URL or not.
Also I have…

Darshana
- 71
- 8
1
vote
1 answer
Google Picker API not showing more than 50 documents
I have been using the Google Picker API to select files from Drive for some quite time. However, it turns out that for folders with more than 50 elements, it shows only the first 50.
I was wondering if there is a configuration parameter to set this…

lagalleta
- 33
- 6
1
vote
2 answers
The target origin provided ('https://docs.google.com') does not match the recipient window's origin ('http://localhost:3000')
Hi I am trying to access google drive from my react application, When I am signing in an iframe appears and and shows 'The developer key is invalid'. I am using a google drive library react-google-picker.
I am getting a message like this Failed to…

suvodipMondal
- 656
- 10
- 27
1
vote
1 answer
How do I avoid Google Drive API audit? -- Only Read access is needed to list files from folder and to download them
The product I'm working on currently uses the scope "https://www.googleapis.com/auth/drive" (which is now "restricted" by Google), which gives full read and write access to a user's Drive account, including app metadata. But we only need read access…

Réal Thibeault
- 11
- 2
1
vote
1 answer
How to use Google Drive API to get list of all files in specific folder
I'm working on a quicker way to get data from Google Drive for data entry purposes. I have a bunch of folders with images in them, and I need to get the URL of each image, plus the width and height in pixels (part of the properties of each…

Michael
- 139
- 1
- 13