Press ESC to close

Google Calendar V3 Integration

Hello Folks,
We have integrated Classic ASP / ASP.NET / PHP Application calendar with Google Calendar Version V3.
As per the latest update from Google on November 17 2014 about shut down of Google API V2.
“This API is a subject to the Deprecation Policy and was shut down on November 17, 2014. Please use APIv3 instead.”.
Many software company and the company who relies on the Google Sync with their application Calendar get into trouble due to this.
Variance InfoTech accept this challenge by knowing that its complex to integrate Google Calendar version V3 using Oath protocol.
We implemented integration between Classic ASP / ASP.NET Application with the Google calendar by implementing new API Layer which then integrated with Google Calendar API.
 
google-calendar

Technical Details Steps

Step1 : Sign up with Google Apps
This is the first step to sign up as application developer.

Step2 : Token generation
This is the second step to generate token by providing authentication screen to the user who wants Google calendar to sync with. Example code :

  • string url = GoogleAuthorizationHelper.GetAuthorizationUrl(email);
  • var authenticator = GoogleAuthorizationHelper.GetAuthenticator(Request[“code”].ToString());

Step3 : Add/Edit/Delete event
This is the Third step to add/edit/delete event from your application same to google.
Example code :
// create the event.

var authenticator = GetAuthenticator(googletoken);
var service = new GoogleCalendarServiceProxy(authenticator);
Event insertedEntry = service.CreateEvent(new_entry);

// Edit event
var authenticator = GetAuthenticator(token);
var service = new GoogleCalendarServiceProxy(authenticator);
Event insertedEntry = service.UpdateEvent(calendarEvent);

// Delete event
var authenticator = GetAuthenticator(tokan);
var service = new GoogleCalendarServiceProxy(authenticator);
service.DeleteEvent(Convert.ToString(Request[“Email”]),

Convert.ToString(Request[“GoogleEventID”]));

Following feature was implemented in this integration:

authenticated

Generation of the Authentication Token

  • As per the image below the first step is to generate authentication token based on the email provided.
  • Add event in Google calendar from Classic ASP/.NET application and vice versa
  • Edit event in Google calendar from Classic ASP/.NET application and vice versa
  • Delete event in Google calendar from Classic ASP/.NET application and vice versa
  • Sync event in Google calendar from Classic ASP/.NET application and vice versa
  • Add/Edit/Delete repeat event Google calendar from Classic ASP/.NET application and vice
Do You Need more information?

For any further information / query regarding Technology, please email us at info@varianceinfotech.in
OR call us on +1 630 534 0223 / +91-7016851729, Alternately you can request for information by filling up Contact Us

Variance Infotech

Variance Infotech is a company, helping world wide customer to spread their expertise in mobile app development & CRM solutions for all industries among businesses which has been proven a boost-up factor in the digital aura worldwide.

Leave a Reply

Your email address will not be published. Required fields are marked *

Subscribe to our newsletter

Please wait...
Want to be notified when our article is published? Enter your email address and name below to be the first to know.