18 messages in com.googlegroups.google-picasa-data-apiRe: deleting photo
FromSent OnAttachments
sunitha25 Feb 2008 21:22 
Jeff Fisher (Google)26 Feb 2008 10:11 
sunitha26 Feb 2008 16:25 
sunitha26 Feb 2008 16:30 
Jeff Fisher (Google)26 Feb 2008 17:03 
sunitha26 Feb 2008 19:19 
sunitha26 Feb 2008 19:25 
Jeff Fisher (Google)27 Feb 2008 10:12 
sunitha27 Feb 2008 10:48 
Jeff Fisher (Google)27 Feb 2008 11:05 
sunitha27 Feb 2008 11:46 
sunitha29 Feb 2008 10:08 
Jeff Fisher (Google)29 Feb 2008 12:53 
sunitha29 Feb 2008 13:44 
Ryan Boyd (Google)29 Feb 2008 19:28 
sunitha03 Mar 2008 10:49 
Ryan Boyd (Google)03 Mar 2008 11:16 
sunitha03 Mar 2008 11:36 
Subject:Re: deleting photo
From:sunitha (suni@gmail.com)
Date:02/26/2008 07:19:58 PM
List:com.googlegroups.google-picasa-data-api

Hi Jeff

Thanks for response.

Can we use the MediaUri.Content to save the image and to delete the image.

Since I have to decide which url to keep in my DB. If the MediaUri.Content url works for both, then I can save only that url.

I already tried the MediaUri.Content to save the image and it did work.

But not sure whether it is good idea to use that url to save.

On Feb 26, 5:03 pm, "Jeff Fisher (Google)" <api.@google.com> wrote:

Hi sunitha,

If you store the MediaUri.Content URL then you can delete the photo later by doing something like

service.Delete(MediaUri);

Cheers, -Jeff

On Feb 26, 4:30 pm, sunitha <suni@gmail.com> wrote:

Hi Jeff

Thanks for your response.

Is there any way to delete the photo later based on url or any other attributes.

After I save the photo from media.content.attributes["url"] and later on I would like to delete the photo based on that url(I will save in my DB) using .NET api.

On Feb 26, 10:12 am, "Jeff Fisher (Google)" <api.@google.com> wrote:

Hi sunitha,

Deleting a photo can be done by using the delete method on a PicasaEntry corresponding to a photo:

Note that this is identical to sending a HTTP DELETE to either the edit-link or the media-edit link for that entry as specified in the protocol guide:

You want to use the media.content.attributes["url"] link to download the photo contents. The mediauri is the media-edit link to update the contents of the image.

Cheers, -Jeff

On Feb 25, 9:23 pm, sunitha <suni@gmail.com> wrote:

Hi

Is there a way to delete the existing photo by mediauri.content url or based on other attributes.

I am tying to save the photo uploaded in picasa to my local disk and using the mediauri.content. Is that url is correct to save photo or do I need to use the media.content.attributes["url"].

I am confused with that urls.

Thanks for any help.- Hide quoted text -

- Show quoted text -- Hide quoted text -