0

I've installed the Google API via composer and called the function listed here but it is throwing an error. Could you help or provide some example to implement "Add Event", "Delete Event", "Update Event".

enter image description here

Siddharth Jain
  • 118
  • 1
  • 14
  • You have to install first Google Client Library before using the code the link you've provided. Follow this [quickstart](https://developers.google.com/calendar/quickstart/php#step_2_install_the_google_client_library). – Mr.Rebot Jan 29 '19 at 23:07
  • when running file from CLI, it provide a google auth link to open in browser and when opening, it is throwing error " Fatal error: Uncaught Exception: This application must be run on the command line. in /Applications/MAMP/htdocs/googlecalendar/quickstart.php:12 Stack trace: #0 {main} thrown in /Applications/MAMP/htdocs/googlecalendar/quickstart.php on line 12". – Siddharth Jain Jan 31 '19 at 16:05

0 Answers0