Have you looked at the photobrowser sample code? That one is doing
very similiar things.
I can not see something obvious wrong with your code - but i don't
know what values you are passing.
From the email address you are showing there, is that really a
google.com address?
Frank Mantek
Google
On Oct 20, 2008, at 3:17 PM, Me. wrote:
>
> Hi
>
> I am saved album name in session and when user select any album name
> from check box i select (for testing purpose) only one album name.
>
> I have created one function which is get all albums and set all as
> check box, and from there user will select any one alubum and click on
> button i called above function.
>
>
> On Oct 20, 5:06 pm, Frank Mantek <[EMAIL PROTECTED]> wrote:
>> So, what's the album name? Is that one correct?
>>
>> Frank Mantek
>> Google
>> On Oct 20, 2008, at 11:34 AM, Me. wrote:
>>
>>
>>
>>
>>
>>> Hi,
>>
>>> i am getting error on loading photos by album.
>>> I got error of 404 remote server return an error: not found
>>
>>> public void photos()
>>> {
>>> string albumName = (string)Session["AlbumName"];
>>
>>> string p = "[EMAIL PROTECTED]";
>>> string pwd ="xyz";
>>
>>> PicasaService myService = new PicasaService("exampleCo-
>>> exampleApp-1");
>>> myService.setUserCredentials(p,pwd);
>>
>>> GAuthSubRequestFactory authFactory = new
>>> GAuthSubRequestFactory("lh2", "exampleCo-exampleApp-1");
>>> authFactory.Token = (String)Session["token"];
>>
>>> myService.RequestFactory = authFactory;
>>
>>> /* Get photos */
>>
>>> PhotoQuery PQuery = new
>>> PhotoQuery(PicasaQuery.CreatePicasaUri(p,albumName)); // I got
>>> error
>>> at this line
>>> PQuery.NumberToRetrieve = 10;
>>> PicasaFeed feed = myService.Query(PQuery);
>>> }- 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 [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
-~----------~----~----~----~------~----~------~--~---