ui-calendar icon indicating copy to clipboard operation
ui-calendar copied to clipboard

Import Google Calendars or Events

Open diegoballest opened this issue 8 years ago • 9 comments

I was using fullcalendar before and decided to use uicalendar but i dont find the way to show my google calendar in this one. please help. thanks.

diegoballest avatar Apr 04 '16 21:04 diegoballest

I can't see nothing about google in fullcalendar.js

DvirH avatar Apr 19 '16 13:04 DvirH

http://fullcalendar.io/docs/google_calendar/

diegoballest avatar Apr 19 '16 21:04 diegoballest

I mean I tried it but it doesn't work because the author didn't implement this.

DvirH avatar Apr 20 '16 16:04 DvirH

It works now. Use this file for gcal.js

and use in this code in your controller vm.eventSources = [ {
googleCalendarId: 'your calendar' }
]

vm.uiConfig = { calendar: { googleCalendarApiKey: 'Your api key', } };

DvirH avatar May 09 '16 12:05 DvirH

Hi @DvirH Were you able to get the google to work? I get an error: https://jsfiddle.net/4os6z5gh/ Thanks, Dan

danielbattat avatar Jul 17 '17 04:07 danielbattat

Worked for me downgrading to JQuery v2.2.2

Otherwise you'll get an ajax error if using a jquery.slim version.

bonatoc avatar Mar 21 '18 11:03 bonatoc

@dab1211 I did. A year ago. Didn't try the current version. Did you solve it?

DvirH avatar Mar 27 '18 16:03 DvirH

Tried today. AngularJS v1.5, jquery v3.3.1, momentJS, fullcalendar v3.9.0, gcal.js v3.9.0, ui-calendar (last download as today) and it worked with your configs.

rodrigokiller avatar Mar 28 '18 20:03 rodrigokiller

seems calendar API now no longer accepts api keys. documents say to use oauth. is anyone else finding this?

northkode avatar Apr 05 '18 03:04 northkode