Ryan,
I'm having the same problem: I do not get the "edit" URL from the feeds
of my calendars. Thus I'm not able to delete or update events via the
API (using the web-client everything works). I googled for this
problem, but nothing worked.
Her's what I'm doing:
Login:
POST to "https://www.google.com/accounts/ClientLogin" with my Email and
Password (service="cl")
=> gives me an Auth=".." string.
Doing a GET to
http://www.google.com/calendar/feeds/${Email}/private/full?auth="(the
above auth string)" gives my calendar entries (thus login has worked),
but none of them is showing an "edit" URL.
What am I missing? Any help appreciated...
Best regards,
Markus
Ryan Boyd (Google) wrote:
Hi Nick,
I've tried reproducing this issue, but haven't been able to-- so a few
questions for clarification :)
Based off your comments re permission, I'm assuming that 'username'
does not own this calendar, but is instead assigend permission to
access it?
Are you accessing the 'private' version of the event instead of the
'public' version?
Lastly, are these calendars 'Apps for Domain' calendars or regular
calendar accounts? I'm just trying to make sure that I'm trying to
reproduce this problem in the same manner in which you're running into
it.
Cheers,
-Ryan
On Dec 5, 9:38 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I see the post below this regarding a similar issue, but I am not able
> to see edit links for events that belong to existing calendars
> (calendars that have been around for a few months).
>
> <code>
> GoogleService service = new GoogleService("cl",
> "exampleCo-exampleApp-1");
> service.setUserCredentials(username, password);
> new
> CalendarEventEntry().declareExtensions(service.getExtensionProfile());
>
> CalendarEventEntry retrievedEntry =
> service.getEntry(fullEntryURL, CalendarEventEntry.class);
> System.out.println("CAN EDIT: " + retrievedEntry.getCanEdit());
> //
> //PRINTS "true"
> //
>
> Link editLink = retrievedEntry.getEditLink();
> System.out.println("EDIT LINK: " + editLink);
> //
> //PRINTS "null"
> //
> </code>
>
> The same thing happens if I use either the "/basic/" or "/full/" URL.
>
> The username has permission to "Make changes AND manage sharing".
>
> I've also tried just looking at the feeds using a browser and wget, but
> no edit link tags.
>
> (By the way, does anyone know how to get Firefox to NOT format the feed
> using it's internal RSS viewer? Whenever I try to view a feed, Firefox
> formats the feed into some 'pretty' viewer, and I have to 'view page
> source' to see the actual XML. Anyone else have this problem and find
> a solution?)
>
> Any ideas about this? I was able to view edit links simply by calling
> "service.getEntry(new URL(entry.getId()))" about a month ago, but now
> this has crapped out.
>
> Thanks
>
> -Nick
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---