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/27/2008 10:48:25 AM
List:com.googlegroups.google-picasa-data-api

Thank you Jeff.

So your suggestion is saving the media.content.attributes["url"] and use that to delete and query also.

Is there a way to delete the photo and query the photo by using media.content.attributes["url"] only or how can I get the mediauri.content from this url.

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

Hi sunitha,

If it works for you, then you can use it if you want, though personally I think I would save the entry's self-link since then you can retrieve the photo entry later and get either one of those links (or anything else about the photo).

Cheers, -Jeff

On Feb 26, 7:25 pm, sunitha <suni@gmail.com> wrote:

Hi Jeff

Thanks for your response.

Can I use the MediaUri.Content URL to save the image also.

I did try to do use MediaUri.Content URL to save and worked fine.

But not sure is it good approach.

If it is fine, then I can save it in DB, so that I can use it for both to save and delete also.

Thanks for all your help.

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 -

- Show quoted text -- Hide quoted text -