On my website, users have a timetable of a sort. Now I want to allow users to insert those "events" in the timetable to their own Google Calendar.
I have tried doing this. I created an account and created Client ID and Client Secret. I have tried running the php files in examples folder of https://github.com/google/google-api-php-client . but none of them really work. I do get google authentication screen, but then get a blank page if "code" _GET in the url. Also I am not sure what should be a Redirect address.
How do I authenticate the user and insert an event to the authenticated user's Google calendar?