Since ClientLogin was deprecated a couple weeks ago I started looking into using this php API to manage my spreadsheets.
I created a new API project from the Google console, got all the secrets, keys, p12 file, etc.
Below is the code I'm using.
The last line fails because the $spreadsheet object is NULL.
Nevermind, I found out I had to share the spreadsheets with the 123456789abcdef@developer.gserviceaccount.com email created via the developer console. Closing.
Since ClientLogin was deprecated a couple weeks ago I started looking into using this php API to manage my spreadsheets. I created a new API project from the Google console, got all the secrets, keys, p12 file, etc. Below is the code I'm using.
The last line fails because the
$spreadsheet
object is NULL.Here's the XML feed return by
$spreadsheetService->getSpreadsheets()
:What am I missing? I have two spreadsheets, but none of them is shown in the feed...