Find who edited google calendar event - google-calendar-api

We have a shared calender and we want to find out who edited or deleted the event using google calender api. Is there anyway we can find out this?

You need Calendar audit log.
Track calendar notifications and view changes to your users’
calendars, events, and subscriptions
You can follow the steps provided to find out who have made changes in you public calendar.
Using the API, you can visit Calendar Activity Events.

Related

Google Calendar Push Notifications: New events and event validation before/after creation

I would like to now if the following functionality is supported by google calendar api:
Does the functionality provided by "Push notifications" include new events or just existing ones. Here is a copy paste from the documentation that let me doubt that new event notifications are supported "The Google Calendar API provides push notifications that let you watch for changes to resources.". So does this only apply to already existing resources (events on my case).
Is there a way to limit the availability on the google calendar. By this I mean setting a general limit (i.e working hours for a company for example from 9am to 5pm). And putting the logic further, is there a way to add more constraints. For example after I receive a notification of a new event created (if this functionality is provided), I check the event's data in my web-hook and let google calendar know that this event shouldn't be considered as valid.
If these requirements are not provided already by google calendar API, I am open to any suggestions to accomplish this even if it takes more coding.
Just to make it clear. The context of these questions is when the user creates an event in their google calendar through google calendar web interface not through my application.

How to fetch all the recurring events based on series master event

How can we get all the recurring events occurrences based on the series master event, from the Outlook Calendar API. We have similar kind of API in Google Calendar API, this is the link.
this is the API link and is working fine

Display calendar of the user who logs into my website usign REST API of google Calendar

I am new to Google Calendar and i have been successful in incorporating the Google Calendar on my website, but now what i require is to show the calendar that has been logged in according to the user of the website. Is there a specific method to it?
I do not require the code i just need a direction to start with
TIA

allow everyone(public) to create event in google calendar

I am designing web application for society management,
where i am trying to give event creation functionality through google calendar.
Other members are not able to create event in the calendar. I searched a lot but I am getting only one solution i.e. to invite
through gmail or to manually add gmail accounts and give permission. But i want make this calendar public everyone can
create event through it. Is this possible? if yes How?

2 way sync Google Calendar with Fullcalendar

I've been able to programmatically develop a 2 way sync between my Fullcalendar and my Google Calendar using php and javascript. My fullcalendar displays events from a Mysql database as well as events from Google calendar.
The problem I am having is that my when my mysql fullcalendar events load into my Google calendar, I then see the mysql events 2x on my fullcalendar...one from mysql and then the one coming back from Google. I need to continue displaying the event created by mysql and discontinue displaying the google events....but only the google events that originated from mysql.
In essense I need to filter out the Google Calendar events that originated from my database, but display google calendar events that were entered manually into the Google Calendar.
When I send the mysql events to google, I currentlty store the returned google calendar id, $gcal_id = $createdEvent->getId() into mysql. My intent is to read the google api callback and filter out the gCal$uid's that match the id's I stored in mysql.
I cannot figure out how to access the gCal$uid values found in the google api callback, and then compare them to an array of id's pulled from the database.
Any ideas or code snippets would be greatly appreciated.
Thank you.
I attacked the problem from a different angle and was able to solve the problem of duplicate entries appearing on my fullcalendar.
As the calendar loads each event, i compare the events id, (minus the #google), to the gcal ids I stored in the database in FullCalendar's "eventAfterRender". If I get a match I use FullCalendar's 'removeEvents' to remove the duplicate event from the Calendar.
I'm having inconsistant results. The process will work several times in a row then all of a sudden stop working. I'm still troubleshooting although it's difficult due to the lack of documentation for PHP.
Anyways, the incoming to FullCalendar from Google Calendar is a breeze compared to the outgoing to google calendar.
For the incoming you need to provide instructions to the user on how to attain their Public or Private XML feedk. The steps to get the Public XML are detailed here http://arshaw.com/fullcalendar/docs/google_calendar/
To get the Private XML just don't make your calendar public and then click the XML button in the Private section.
There are some other steps but they are all detailed in the link the provided.
I'll provide more detailed info on the outgoing sync to google once I get it all worked out
BTW- why can't you send me a private message. Is there something I need to change in my stackoverflow settings?

Resources