Sorry about the outdated documentation. That function used to take an album
name instead, but we changed it since people get confused about the
canonical album name vs the display album name.

You can still retrieve the feed by specifying the URL yourself:

http://picasaweb.google.com/data/feed/api/user/USER_ID/album/ALBUM_NAME

Be warned though - since special characters (unicode, punctuation, spaces)
get stripped out or changed, the album name might not be what you think it
is from looking at it.

My question is - how are you getting the album name to begin with? If you
are displaying a list of albums to the users it should be easy to add some
hidden metadata that contains the album ID since the album feed contains
both the display name and the ID.

Cheers,
-Jeff

On Mon, Jan 19, 2009 at 11:02 AM, Beginner <[email protected]> wrote:

>
> Hi all,
> I am trying to get a list of all the photos within a certain album. To
> do this according to the documentation I should use something like
> this
> PhotoQuery query = new PhotoQuery(PicasaQuery.CreatePicasaUri
> (username, albumname));
>
> PicasaFeed feed = service.Query(query);
>
> foreach (PicasaEntry entry in feed.Entries)
> {
>    Console.WriteLine(entry.Title.Text);
> }
>
> The problem is that the is no method CreatePicasaUri that takes the
> album name, but it actually expects the Album ID (in the reference
>
> http://code.google.com/apis/picasaweb/developers_guide_dotnet.html#ListPhotos
> is written something else)
>
> So how do I get the album ID programmatically having only the album
> name?
>
> Thank you for your answer
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 [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-Picasa-Data-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to