I would like to do caching for folder content, therefore it will be cool if I can somehow get an information if folder in google drive changed and then flush the cache. Is there a way for that? Best in php.
相关问题
- Views base64 encoded blob in HTML with PHP
- Laravel Option Select - Default Issue
- PHP Recursively File Folder Scan Sorted by Modific
- Can php detect if javascript is on or not?
- Using similar_text and strpos together
After some time I came up with this nice solution:
which can be used like:
where a first argument is a datetime of last check, second google drive folder id, and the last reference for client variable. Also your app should have a scope for:
https://www.googleapis.com/auth/activity
otherwise you will get an error.