-5

How we can get preview of Google drive files in web without login into Google account. In current scenario only public files are visible through embed link, we need to show preview of file in iframe which are not public and without login. We have access token for Google drive api.

Amit Kumar
  • 19
  • 1
  • 9

1 Answers1

-1

You cannot view private data without logging-in. You need to login via the OAuth flow. That token can be used to view your files, not of others.

Before your application can access private data using a Google API, it must obtain an access token that grants access to that API. A single access token can grant varying degrees of access to multiple APIs.

ReyAnthonyRenacia
  • 17,219
  • 5
  • 37
  • 56