How can I create an embedded Google Calendar widget that is logged in as a specified user?

StackOverflow https://stackoverflow.com/questions/10094574

Вопрос

I want to use Google Calendar's embed capabilities on a site but I want it to be viewed as if logged in by a specific user (we are using Google Apps for Business). I already know that a proxy service of some sort will have to be created but I'm not sure as to the steps that would be involved. Can someone point me in the right direction?

Это было полезно?

Решение

Assuming your users are already logged into Google (whether a normal Google account or a Google Apps account), you should just be able to use the Google-provided widget.

For a single calendar, you can use Google's tutorial here. To get a normal view of every calendar that the user has access to (eg. the same things that the person sees at calendar.google.com) you should use the embed generator here. This is an iGoogle widget, but Google allows you to style it and embed it on any site. The widget will automatically know who the user is, assuming they are logged in to Google.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top