Hi,
Please do not keep opening new threads about the same issue. It just
clutters the forum and annoys its subscribers.
It sounds like the album name you are using is not valid since you are
getting a 404. If you have a space in the album name, for example, you have
to remove it. Similarly, you have to take into consideration other special
characters. What is the name of the album that is having the problem? In
general it is better to retrieve albums by their numeric ID instead of by
their name for this reason.
Cheers,
-Jeff
On Mon, Oct 20, 2008 at 4:55 AM, Me. <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I want to get Image from any peticuler selected album, but i am not
> getting it.
>
> I got error of Rmote server return error 404 not found.
>
> what should i do? my code is displayed below:
>
> string albumName = (string)Session["AlbumName"];
>
> string p = "[EMAIL PROTECTED]";
> string pwd ="xx";
>
> 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));
> PQuery.NumberToRetrieve = 10;
>
> PicasaFeed feed = myService.Query(PQuery); // I got error at
> this step .....
> .............
>
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---