I am trying fetch content from google drive. i have used google sdk. problem is i used get() function for the retrieve the content. but it give only file metadata not any actual content. Please anyone help me on this?
$googl = new Googl();
$this->client = $googl->client();
$this->client->setAccessToken(session('user.token'));
$this->drive = $googl->drive($this->client);
$file = $this->drive->files->get("fileId");
return $file;
please help me on this.
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2Ec50fa
via IFTTT
Aucun commentaire:
Enregistrer un commentaire