Google Drive - Api Php _best_

If the application needs to access files that belong to the application itself (rather than a specific user), use a .

$pageToken = $response->nextPageToken; while ($pageToken != null); google drive api php

$results = $service->files->listFiles($optParams); If the application needs to access files that

$fileId = 'YOUR_FILE_ID'; $response = $service->files->get($fileId, array('alt' => 'media')); $content = $response->getBody()->getContents(); use a . $pageToken = $response-&gt