I've made a Google Calendar to display in fullcalendar. The events display, not the event titles do not. How can I get the event titles to show up, does anyone know?
I made a Google Calendar, went into the developers console and created a new project. Then I enabled the Google Calendar API for that project. Then I created an API key, a OAuth 2.0 client ID, and a Service account key for the project.
Here is my code:
$('#calendar').fullCalendar({
// put your options and callbacks here
header: {
right: 'prev,next today',
center: 'title',
left: 'month,agendaWeek,agendaDay'
},
eventLimit: true, // allow "more" link when too many events
googleCalendarApiKey: 'myapikey',
events: {
googleCalendarId: 'post-gazette.com_hsvt6hs1u9b5rhfhursjeq1skg@group.calendar.google.com'
},
eventClick: function(calEvent, jsEvent, view) {
alert();
}
});