0

How to use the Google Drive SDK to get a link that is accessible to everyone who has the link (public link)? Is this possible?

Mageno
  • 35
  • 1
  • 2
  • 9

1 Answers1

0

You may refer with this thread: Get shared link through Google Drive API. If you are using v2, then you can use the alternateLink property in the File resource to get a link that can be shared for opening the file in the relevant Google editor or viewer. While in v3, for the link to be non-empty you must define that you request this field. Also make sure that you have the right permissions.

abielita
  • 13,147
  • 2
  • 17
  • 59