-1

I've successfully embedded a folder I've created into my website using the answer from here: How to embed a Google Drive folder in a website

Now I'm trying to embed the 'Recent' view in Google Drive. Is there a way to do this? I thought perhaps the 'recent' view has a default Folder ID however have been unable to find anything.

Thanks

Community
  • 1
  • 1

1 Answers1

0

The recent view is actually a search query with the results rendered, it is not a folder you can grab.

It defaults to a 'last modified' view, which is the same order that Files.list returns files. Knowing this, you can decide how many 'recent' files you want to display and retrieve that number of files to render simply by issuing the files.list query.

Dan McGrath
  • 41,220
  • 11
  • 99
  • 130
  • The documentation for files.list says nothing about the order of returned files. Is the default behaviour you mention guaranteed (in which case can it be documented), or is it a side effect? – pinoyyid Apr 01 '15 at 05:12