Google Drive ThumbnailLink Expires (Any Workarounds?)

164 views
Skip to first unread message

Chris Holcomb

unread,
Jan 26, 2016, 12:40:41 PM1/26/16
to Google Drive API and SDK
My Application creates a Folder on the clients Google Drive, then stores all their documents and photos on their Companies main Google Drive Account in case they stop using my application they don't loose their files. I have all of this working fine.

I use the Google Picker for them to upload all the files and take the array returned and send them from the client back to my API Server that then loops through the ID's to get the file, create sub folders and set the parent property so its nice and organized and assign custom properties to the files that map to my Database ID's, then I take the data from the Drive API and only store ID's and Links to the file in my Database.

The only problem I have left is that the ThumbnailLink Expires after about a day. If I make an update to the file I take the ThumbnailLink from the response and update the database with this new link and it works again for about another day and then expires again.

I read some say the link only expires after an update but that's doesn't seem to be the case since I am updating my database with the new ThumbnailLink every time the files is updated from my app.Is their any way around this? Has anyone else come up with another solution?

Thanks for any help.
~ Chris
Reply all
Reply to author
Forward
0 new messages