I have the email and password of a gmail account, how can i display in my website a private google calendar ? (readonly will be fine too)
If i use the HTML link or the iframe link, i need to authenticate the user with no interaction from him somehow,
or is there some javascript calendar(like FullCalendar) which can access private calendar?
Or can i insert events in some javascript calendar ?
i am using zend framework and can authenticate and do stuff like
$service = Zend_Gdata_Calendar::AUTH_SERVICE_NAME;
$client = Zend_Gdata_ClientLogin::getHttpClient($email, $password, $service);
$service = new Zend_Gdata_Calendar($client);
$calendars = $service->getCalendarListFeed();
...
Google Calendar allows to access calendars without authentication with private links. In Google Calendar click the down arrow next to the calendar you want to share and select "Calendar Settings". Then there is a "Private address" section an you will have three links for XML, ICAL and HTML formats. This link contains authentication token.
EDIT: Obviously use of the private link is discouraged for sharing. I expect you could achieve the same, if you make you calendar public and use normal share links.
EDIT2: If you don't have the private address option, you probably use Google with a custom domain. Here is post how to enable it then.