I'm uploading some images to our GDrive account (via API) so I can publish them in our webapp.
I like to post thumbnailLink because of the =s
parameter where you can scale the image to a desire width.
But now I've found a problem:
This problem raises two questions:
Why does this happen?
Is there anyway I can keep the same thumbnailLink and make it work forever?
edition: in file documentation (https://developers.google.com/drive/v2/reference/files) says that only downloadUrl has a short lived value
The Google Drive API allows you to create apps that leverage Google Drive cloud storage. You can develop applications that integrate with Drive, and create robust functionality in your application using the Drive API.
All use of the Drive API is available at no additional cost. Exceeding the quota request limits doesn't incur extra charges and your account is not billed.
If there is an item placed in your drive, the system knows that it is there, if you are close and no one is using the drive. As such, it will automatically change the rotation of items and deliver you back to front most commonly used every time someone uses the drive. This prevents an unexpected interrupt in surfing.
Google Drive sharing settings have a similar interface and functionality to permissions settings. There's three choices for sharing a file for organizations: restricted, only within the group, and anyone with the link.
The thumbnail URL is also short lived (as some simple testing revealed). I'll work with the documentation team to also have this noted in the documentation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With