4 messages in com.googlegroups.google-picasa-data-apiRe: Spaces in the album name generati...| From | Sent On | Attachments |
|---|---|---|
| Ben | 15 Apr 2008 12:40 | |
| Cameron Hinkle | 15 Apr 2008 12:48 | |
| Sven | 15 Apr 2008 13:01 | |
| Ben | 15 Apr 2008 18:15 |
| Subject: | Re: Spaces in the album name generating an error...![]() |
|---|---|
| From: | Sven (sv...@google.com) |
| Date: | 04/15/2008 01:01:56 PM |
| List: | com.googlegroups.google-picasa-data-api |
Hi Ben,
The album title and the album URI are actually different strings, although we do generate the album URI based on the title. As Cameron mentioned we strip out spaces and other punctuation, as well as handling unicode titles etc. At the moment the easiest way to get an album from a title is to download the list of all albums and find one that matches. If you are allowing a user to choose an album you may want to use a drop-down that displays the title but uses the ID to actually find the album.
-Sven
2008/4/15 Ben <bman...@gmail.com>:
Hi,
Im new to the Google API and just encountered an error when trying to grab photos from a web album through the .Net API.
Here is the line of code that generates the exception: Dim pquery As New PhotoQuery(PicasaQuery.CreatePicasaUri(UserLoginBox.Text, AlbumGalleryCB.SelectedValue))
If the selected album name has no space, it works fine. Any 2 or 3 word album names generate the error. I tried replacing the spaces with a "+" sign, but the same error occurred.
Any help would be greatly appreciated.
Thanks, -Ben
--~--~---------~--~----~------------~-------~--~----~
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 Goog...@googlegroups.com
To unsubscribe from this group, send email to
Goog...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/Google-Picasa-Data-API?hl=en
-~----------~----~----~----~------~----~------~--~---




