Solved

Google API to Post an appointment in php

Posted on 2013-11-27
4
461 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If your app took Google’s lash recently, here are the 5 most likely reasons.
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This Micro Tutorial will demonstrate the easy use of Gmail embedding images in your email so the recipient of your email can view them in context.
This Micro Tutorial will demonstrate how marketers can use the Mobile Emulation Tool in Chrome Developer Tool. This will let you preview your site on any mobile device.

914 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

14 Experts available now in Live!

Get 1:1 Help Now