Laravel and iCloud / Google calendar - some questions
Hello,
I'm using Fullcalendar for my web app and each event is stored in mysql db. Each customer have his own calendar with own events (Added by this customer)
Now I want to create synch with customers calendars. I want to do this like this:
User get custom url to his own calendar in csv format
User can add this url to his calendar and get all events
I would like to know which method is better? Create a new file on each event add / delete or append data to existing file
If you give a CSV to the person, it will be a one-time thing. You can't dynamically update that. There is. a protocol for that called iCal.
The only way to make it automatically sync is by using the iCal URL from Google. This way, you don't have to update the calendar itself and maintain it. I'm not sure if you can get that URL through the API, but you can read more about it here: https://support.google.com/calendar/answer/37648?hl=en
The only thing your application needs to do is create/update/delete the events in Google Calendar using the package.