angular-ui / ui-calendar

A complete AngularJS directive for the Arshaw FullCalendar.
http://angular-ui.github.io/ui-calendar/
MIT License
1.49k stars 729 forks source link

Trying to Integrate a Google Calendar in v3 of the API without `feeds` #230

Open LoganArnett opened 9 years ago

LoganArnett commented 9 years ago

I am currently trying to integrate the UI Calendar into my project and have run it successfully with the new Google Calendar API v3 with the jQuery version through FullCalendar alone. However, I need to utilize this in a modal which will not load the calendar properly.

So UI calendar looks like my best option but when I looked into the Docs and Demo I found this:

    /* event source that pulls from google.com */
    $scope.eventSource = {
            url: "http://www.google.com/calendar/feeds/usa__en%40holiday.calendar.google.com/public/basic",
            className: 'gcal-event',           // an option!
            currentTimezone: 'America/Chicago' // an option!
    };

Which points to a google calendar link that returns a 403 error and utilizes a part of the v1 and v2 Calendar API which are deprecated now.

I am hoping to find out how to integrate the google calendar using the newest version of the API with this awesome Calendar option.

Thank you in advance for any help you can offer

4levels commented 9 years ago

I'm also struggling to get the Google calendar integration working with the new v3 approach. The docs in fullcalendar provide setup instructions but this approach is not possible / recommended in this configuration - http://fullcalendar.io/docs/google_calendar/

z00dev commented 9 years ago

Did you guys succeed with this? Could you share a gist perhaps? :)

dbell0779 commented 7 years ago

hey guys! Not sure if this has been fixed but using this link http://fullcalendar.io/docs/google_calendar/ you follow all the instructions for the code you modify it as follows:

/ event source that pulls from google.com / $scope.eventSource = { url:"http://www.google.com/calendar/feeds/usa__en%40holiday.calendar.google.com/public/basic", googleCalendarApiKey: '', className: 'gcal-event', // an option! currentTimezone: 'America/Chicago' // an option! };

northkode commented 6 years ago

would be nice for a oauth fix, as making a calendar public is not ideal