Solved

Google API to Post an appointment in php

Posted on 2013-11-27
4
467 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 110

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Learn about cloud computing and its benefits for small business owners.
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.

749 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