Hi,

You can use the private token (pvttk) URL parameter, the embedded URL would
look like this

http://www.google.com/calendar/[EMAIL 
PROTECTED]&pvttk=c58d33eb836ea694c2226d5d8c05xy

This enables a private calendar to be loaded as long as you supply the
private token associated with that calendar.

You can look up the private token for your calendar with following steps -

1) go to calendar.google.com click on the "Settings" on the top right
2) choose the "Calendars" tab
3) click on your target calendar
4) scroll down to the Private Address section and select the XML button. The
feed URL appears.
5) The feed URL looks like this -

http://www.google.com/calendar/feeds/[EMAIL 
PROTECTED]/private-c58d33eb836ea694c2226d5d8c05xy/basic<http://www.google.com/calendar/feeds/uinpq82hkgqtpajd1tra9fe2po%40group.calendar.google.com/private-8ce484a700b888e823baa4e74da94a40/basic>

6) notice the part, private-[LONG_STRING].  The LONG_STRING is the private
token for this calendar

Hope that helps,
Austin

On Sat, Jul 19, 2008 at 1:40 PM, CJ <[EMAIL PROTECTED]> wrote:

>
> Hi, guys
> I have to ask a favor from you guys.
> I am writting a small test project which combines authsub and
> calendar. Previously, I set the my calendar as public so that I can
> simply put a line
> <iframe src="http://www.google.com/calendar/embed?
> [EMAIL PROTECTED]&ctz=<http://www.google.com/calendar/[EMAIL 
> PROTECTED]&ctz=><%=
> lc2.getUser().getTimezoneid() %>"
> frameborder="0" scrolling="no" style="border:0; width:640px; height:
> 515px;"></iframe>
> in my jsp file.
>
> But, later on, I switched my calendar from public to private (no
> sharing). No surprise, my old method does not work anymore.
>
> So, can anybody points out the appropriate way to do it?
>
> Best
> CJ
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" group.
To post to this group, send email to 
[email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to