Fullcalendar: can it work with Google Calendars set to private?

眉间皱痕 提交于 2019-12-04 15:58:04
Scoobler

It is possible to use Google as your backend for the calendar - see my question and answer: Secure shared Google Calendar. If you are not using the Zend framework, it won't be of direct help, but it will show that it is possible to get the data from a secure calendar using Googles GData API, you will just have to do a bit more work to do what Zend have already done. You can also store extra information on the Google Calendar DB (using the API) which isn't shown on any of the Google GUI thus meaning you don't need to use two datastores like you suggest. However if you did still want to pursue using Google and your DB, you could use the API, create an event on the Google calendar, store the ID it returns when the event is created, then in your DB add whatever extras you want along with Googles ID. Then in your code where you create the feed for the calendar (similar to the link above) just add a query to check your DB for the ID of the event which Google just returned.

I know this thread is old, but here's a plunk that does what you're asking.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!