Solved

Google API to Post an appointment in php

Posted on 2013-11-27
4
459 Views
Last Modified: 2014-11-12
I have a datetime field in my database. When filled I am going to trigger a php script that I would like to post to the users google calendar using the API.

Any examples of how to do this? Would I need to pre-authenticate the script with the users permissions to post to his calender? Any examples of how to do this in php?
0
Comment
Question by:Starquest321
  • 2
4 Comments
 
LVL 50

Assisted Solution

by:Steve Bink
Steve Bink earned 250 total points
ID: 39684012
I recommend starting here:  Google Calendar API.  Google generally has pretty good documentation, and examples to guide your way.

And yes, you will need to authenticate your requests.  Examples of how to do that are available at the same reference.
0
 

Author Comment

by:Starquest321
ID: 39684084
I am not asking for php code example . . but just trying to understand what you can pass. Where can I get a list of that?
0
 
LVL 50

Expert Comment

by:Steve Bink
ID: 39684717
You can obtain a list of that information at the link from my previous response.
0
 
LVL 108

Accepted Solution

by:
Ray Paseur earned 250 total points
ID: 39685451
Google's API almost always has PHP examples (A lot of Google is written in PHP).  You will also need to understand OAuth 2.0 in order to modify a client calendar.

A list of the calendar actions is available here:
https://developers.google.com/apis-explorer/#p/calendar/v3/
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Learn about cloud computing and its benefits for small business owners.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This Micro Tutorial will demonstrate importing calendar invites from events such as webinars into your Google Calendar.
This Micro Tutorial will demonstrate common damaging and frequent mistakes I see in most analytic audits. Most of them are campaign tagging mistakes, so this video will break it down into simple steps.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now