Solved

Google API to Post an appointment in php

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Working with spreadsheets can be a daunting task, especially when having to deal with large amounts of data. All you see are rows and rows of numbers and soon your eyes begin to glaze over. Take advantage of the tools in Google Sheets to create prof…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
This Micro Tutorial  demonstrates whether your site uses one subdomain or multiple subdomains, how to create full URLs from Google Analytics content reports. This procedure is called concatenation and can also be done with the CONCATENTATE function.…
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.

790 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