Avatar of APD Toronto
APD TorontoFlag for Canada

asked on 

GMail Calendar Integration

Hello Experts,

Could anyone point me in the right direction on how to get started with GMail Calendar Integration.

I'm building an internal web application using PHP/MySQL, JS/jQuery, and I need to schedule follow-up appointments within my app.  So, within my app I need to:

-Have a button that would open a popup showing the availability from GMail Calendar.

-Be able to book the appointment within the popup, or otherwise. But, still have it set within GMail, returning the date, time, and any type of Appointment ID.

-At a later time, reschedule the appointment, if needed. That's why I'm thinking I need to have an Appointment ID returned from GMail?

I'm also aware that for this, I may need to use AJAX, which I have done only in JS, but I'm hoping to save and keep any creds within PHP for security purposes?

Any help will be greatly appreciated.
DatabasesJavaScriptPHPGoogle WorkspaceAJAX

Avatar of undefined
Last Comment
Scott Fell
ASKER CERTIFIED SOLUTION
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of APD Toronto
APD Toronto
Flag of Canada image

ASKER

Thanks Scott. I usually tend to keep issues seperately, but was looking for some theory, which you provided.
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

Thank you.

What may not be clear with the API is there are some steps.  First you have to set up credentials in google console. https://console.developers.google.com/apis/dashboard

Once all that is set up, your php code has to first submit your credentials to get a token. Then cache the token and submit it in each subsequent request.  Getting through the initial api example will be the hardest part.
JavaScript
JavaScript

JavaScript is a dynamic, object-based language commonly used for client-side scripting in web browsers. Recently, server side JavaScript frameworks have also emerged. JavaScript runs on nearly every operating system and in almost every mainstream web browser.

127K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo