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

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

Open LoganArnett opened this issue 10 years ago • 4 comments

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

LoganArnett avatar Feb 18 '15 19:02 LoganArnett

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/

4levels avatar Feb 22 '15 11:02 4levels

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

z00dev avatar Aug 13 '15 13:08 z00dev

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: '<YOUR API KEY>', className: 'gcal-event', // an option! currentTimezone: 'America/Chicago' // an option! };

dbell0779 avatar Mar 27 '17 18:03 dbell0779

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

northkode avatar Apr 05 '18 03:04 northkode