That is very weird. I just quickly tried your code in C# against my  
album and it works just fine. Now assume:

a) you are getting a feed back with at least one entry in there
b) then entries(0).Delete() deletes that entry and it works against  
the entries EditUri

i have no idea where the message "feed can not be deleted is coming  
from".

As soon as you add the Tag parameter though, you get the "feed can not  
be deleted" message from the server.

I verified that in my case, that the delete request is issued against  
the EditUri of the entry, which looks perfectly fine:

DELETE /data/feed/api/user/fmantek/album/Bowling/5063339377173394706

but is different than the same link without the tag.

Looks like a service bug to me.

Frank Mantek
Google



On Sep 11, 2008, at 1:21 PM, telu wrote:

>
> Hi Jeff,
>
> here is the code I am using for this.
>
> --------------------------------------------------------
>        Dim myService As PicasaService
>        Dim query As PhotoQuery
>        Dim feed As PicasaFeed
>
>        myService = New PicasaService("exampleCo-exampleApp-1")
>        myService.setUserCredentials(mylogin, mypassword)
>
>        query = New PhotoQuery(PicasaQuery.CreatePicasaUri(mylogin,
> "XYZ"))
>        query.Tags = "x"
>        feed = myService.Query(query)
>        feed.Entries(0).Delete()
> ----------------------------------------------------------
>
>
> On Sep 8, 5:16 pm, "Jeff Fisher (Google)" <[EMAIL PROTECTED]>
> wrote:
>> Hi,
>>
>> Rather than retrieving the photo feed, you should be retrieving the
>> photo entry and deleting that instead. It would help if you could
>> share the code you are using, but you should be able to retrieve the
>> photo entry directly using the following URL with the appropriate ids
>> substituted in:
>>
>> http://picasaweb.google.com/data/media/api/user/<userID>/albumid/ 
>> <albumID>/photoid/<photoID>
>>
>> Cheers,
>> -Jeff
>>
>> On Sep 7, 6:28 pm, telu <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>>> I am using .net api to delete a photo in picasa album. I seem to get
>>> the photo feed appropriately based on tag but when i call the delete
>>> method it fails with the message "feed can not be deleted"
>>
>>> I am not sure if it is due to a bug in API or am I doing something
>>> wrong?- Hide quoted text -
>>
>> - Show quoted text -
> >


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

Reply via email to