Solved

Google API to Post an appointment in php

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

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Explore the encryption capabilities built into Google Apps and how these features can help you meet privacy policy and regulatory compliance, but are not a full solution. Understand and compare the most popular email encryption services for Google A…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
This Micro Tutorial will introduce a Google tool, which is a great way to learn more about dimensions in metrics in Google Analytics, even if you use the interface or the API.
This Micro Tutorial will demonstrate how to analyze your website's back links using a network graph powered by a fusion table.

831 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