Hello Mike

Thanks for your help, that makes sense to me.

Ian

On Friday, 30 November 2012 17:06:15 UTC, Mike Erickson wrote:
>
> Hello Ian,
>
> The album title that works is the right one, and the reason it works is 
> that the album has a display title and a URL title. The URL title has no 
> spaces, and is unique per user account. So you might have two albums called 
> "My Test Album" but the URL title for these albums will be MyTestAlbum and 
> MyTestAlbum01, or something along those lines. 
>
> The point is that you won't be able to guess how to construct the request 
> based on the display title. Take, for example, a Unicode album display 
> title with Korean characters. There will be a valid URL album title for 
> that album, but I can't tell you what it will be.
>
> Your best bet will be to request a list of all the albums for that user, 
> then let them pick from a list you display. That way you'll know about the 
> album and can use the right album title or, even better, the album ID.
>
> I hope that helps.
>
> Thanks,
> -Mike
>
>
> On Fri, Nov 30, 2012 at 3:39 AM, Ian Kennerley 
> <[email protected]<javascript:>
> > wrote:
>
>> Hi
>>
>> I am having trouble accessing Picasa web albums by album name. I have 
>> album name 'My Test Album'. If I use that name (including the spaces) the 
>> Album name is not found. I am using the zend-gdata library.
>>
>> Here is my code that works:
>>
>> // Construct the query                      
>> $query = $this->photos->newAlbumQuery();
>> $query->setUser( "default" );
>> $query->setAlbumName( "MyTestAlbum" ); //This works fine
>>
>>
>> Here is the code that doesn't work:
>>
>>
>> // Construct the query                      
>> $query = $this->photos->newAlbumQuery();
>> $query->setUser( "default" );
>> $query->setAlbumName( "My Test Album" ); // This album not found
>>
>>
>> I need users to be able to enter the name of their album to 
>>
>>
>> retreive their photos. How do I know what characters to remove?
>>
>> Many Thanks
>> Ian
>>
>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google Picasa Web Albums API" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/google-picasa-data-api/-/vZVdJDLLey4J.
>> To post to this group, send email to 
>> [email protected]<javascript:>
>> .
>> To unsubscribe from this group, send email to 
>> [email protected] <javascript:>.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-picasa-data-api?hl=en.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Picasa Web Albums API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-picasa-data-api/-/xJrAX8YbpdYJ.
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