google-api-php-client
google-api-php-client copied to clipboard
Wrong method in auth example
On the page https://developers.google.com/api-client-library/php/auth/web-app there is a mistake in the code example of index.php. You have to write $files = $drive->files->listFiles(array())->getFiles(); instead of $files_list = $drive_service->files->listFiles(array())->getItems();
getItems(); doesn't work any more
Thank you!
Thanks for the heads up. We will get that changed ASAP.
The example code still wrong.