0

I am trying to use Google drive API Integration with php application to upload/get files into my drive without asking users to login to Gmail while uploading.

Is it possible with Drive API? I tried uploading a file into drive with basic form.It is working ,But in my application the user should not ask for login and user uploaded file must be stored in my drive.(i.e, I am using my Drive as just for storing user uploaded files ).

Is it possible? And how could I do it with Codeigniter? I have working copy in php.

Linda Lawton - DaImTo
  • 106,405
  • 32
  • 180
  • 449
  • Sorry i cant help with Codeigniter but check out service accounts. Tip: Give the service account email address permissions to a folder on your drive account will give it access to upload to it. – Linda Lawton - DaImTo Apr 25 '16 at 07:20

1 Answers1

0

It's pretty simple. Instead of using an access token associated with the user, you need a refresh token associated with your target Drive account. The steps to do this are here How do I authorise an app (web or installed) without user intervention? (canonical ?)

Community
  • 1
  • 1
pinoyyid
  • 21,499
  • 14
  • 64
  • 115