I'm sorry, I didn't reply because I didn't understand your followup question. I still don't.
It seems like you are asking about user B being logged into Google Apps, which I don't understand. This isn't Google Apps, it is Google Calendar and the authorization is I believe slightly different. You should authorize user B to the Google Calendar Service for this to work, not Google Apps. I also do not understand this, "have B share A's calendar by simply following a url; the only way to do it might then be to go through B's calendar first, in order to navigate to A's calendar and then have access to it; it would be nice if somebody could confirm - or NOT- this here". In particular, I don't understand what you mean by, "following a url", "go through B's calendar", "navigate to A's calendar". A's calendar is located at a particular url. If user B is authenticated as user B to the Google Calendar Service and user B is authorized to view user A's calendar, then user B can retrieve the url that contains the contents of user A's calendar. This is all part of the calendar api, and I can assure you that it works. But my suspicion is that your question isn't about the calendar api, but about the UI. I think that what you are wanting to do is to have user B sitting at their web browser click on some url and have that url take them to a page that displays user A's calendar. If you want user B to see _only_ user A's calendar at a particular url, you could embed user A's calendar in a page that you control and assuming that user B had authenticated themselves to Google Calendar in the recent past, then user B would see user A's private events. However, it would be simpler if user B just viewed user A's calendar through the normal Google Calendar UI. In the Calendar UI it is possible to see many calendars from many different users, but perhaps there is some reason that you can't do that. Hope that helps, Ray On Mon, Jun 8, 2009 at 10:08 AM, Patricia Goldweic<[email protected]> wrote: > Hi, > I posted about this before, got a reply which I thought didn't answer my > question, I then replied explaining why it didn't work for me, and never > heard back from anybody at Google. > So I'm trying again here, hoping that somebody WILL reply this time :-) > (Please note that I got an 'incompatible' reply from the Google Calendar > help forum ***) > > My first post: > ---------------------------------------------------------- > Hi, I'm wondering whether the following is possible (and if so, please let > me know how to construct the given url :-)): using a 'private' calendar url > (for a calendar that belongs to 'A'), person B (which has > read(or editor) permission to A's calendar), can simply access A's calendar > by following that url, as long as they are logged into Google Apps. In other > words, I'm looking for functionality equivalent to that in Google Docs, > thanks to which I can directly access somebody else's doc by following its > url, as long as I have the right permissions, and as long as I'm logged into > Google Apps. Could somebody please clarify. Thanks in advance, -Patricia > ----------------------------------------------------------- > Ray Baxter's reply: > ----------------------------------------------------------- > Yes, this is possible. If A has shared their calendar with B, the A's > calendar will appear in user B's allcalendars feed assuming user B presents > the proper credentials, and user B will have the whatever access to that > calendar that user A has provided. The url for accessing user A's calendar > will be the same url for user B as for user A. I user A's calendar is > http://www.google.com/calendar/feeds/userA%40group.calendar.google.com/private/full, > then that is the url that user B would use. Ray > > ------------------------------------------------------------ > > My reply to Ray Baxter: > > ------------------------------------------------------------- > > Hi Ray, > > Thanks for the reply. I'm glad this is supposed to be possible. Now I need > to figure out why this does not seem to be working for me though:-(. > > I've created two users in a GoogleApps domain, and after I've > programmatically added B to A's calendar acl feed (so that B is a reader of > A's calendar), I'm trying to have B follow a URL to A's calendar (please > note that I'd like to do this as opposed to have B go to his main calendar, > and from there, find A's calendar). > > Assuming that we are dealing with A's main calendar, I've tried the > following urls: > > http://www.google.com/calendar/feeds/A/private/full > > http://www.google.com/calendar/feeds/A/private/basic > > Either of these urls causes a '401' (Needs authorization) http error, even > though B is logged into Google Apps. So what am I missing? > > Also, please note that I want to see the calendar rendered, and not some > representation of the feed (not sure if the urls above are exactly what I > need). > > -Patricia > > > > *** After my frustration, I tried the Google Calendar help forum (no apis), > and after first receiving a reply suggesting that I should be using the > 'public' calendar url, they eventually realized that it may not be NOT > possible to do what I was trying to do (in other words, have B share A's > calendar by simply following a url; the only way to do it might then be to > go through B's calendar first, in order to navigate to A's calendar and then > have access to it; it would be nice if somebody could confirm - or NOT- this > here). > > [email protected] > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
