Frank Mantek
Sent from my iPhone
a) if you have a feed, use the postUri of the feed
b) if you don't have one, use the URI below, especially if that fixes
your issue. Does it do that?
Frank
PhotoQuery photos = new PhotoQuery();
PicasaFeed picasaFeed = null;
photos.Uri = new
Uri(PicasaQuery.CreatePicasaUri(service.Credentials.Username.ToString(),
albumName)); //service is a PicasaService object, with credentials set
picasaFeed = (PicasaFeed)service.Query(photos);
Byte[] bFile = fileUpload.FileBytes; //get the file bytes from the
FileUpload Control
Uri postUri = new Uri(picasaFeed.Post);
PicasaEntry entry = service.Insert(postUri, new MemoryStream(bFile),
"image/jpeg", fileUpload.FileName) as PicasaEntry; // save the file at
picasa
Try it.
Juliano
--------------------------------------------------
From: "ScottIsAFool" <scotti...@gmail.com>
Sent: Wednesday, September 24, 2008 9:51 AM
To: "Google Data APIs .NET Client Library"
<gdata-dotnet-...@googlegroups.com>
Subject: [gdata-dotnet-lib] Re: Error trying to upload photo