0

I have Google Picker working well in my project, it imports all data, thumbnails, id etc. of the file. In next step I have to download it, but I don't have direct link. I tried to get direct link with Drive V2 API, but it show 404 error. I have all file data, how could I get the direct link?

Thanks for answer.

EDIT: Drive REST API returns 404 after receiving file ID from Google Picker.

4

1 回答 1

0

您可以使用诸如https://sites.google.com/site/gdocs2direct/之类的服务来获取指向 google doc 文件的直接文件链接。

但是,您只能生成指向您上传的文件的直接链接。您无法直接链接到在您的 google 驱动器上创建的文件。

也许如果您描述了到目前为止您所做的工作,我们可以帮助您完成剩下的工作以实现您的目标。关于此主题的许多其他 stackoverflow 问题可能包含您的答案。

例如:

谷歌驱动器直接链接

https://productforums.google.com/forum/#!topic/drive/qT02HH5QJRM

https://developers.google.com/picker/docs/

http://www.labnol.org/internet/direct-links-for-google-drive/28356/

于 2015-04-16T19:36:00.513 回答