Hi

I am new for Picasa i am just trying to do take photos from Picasa.
But i got 403 Forbidden error at PicasaFeed feed =
service.Query(query);

My code is :

        PicasaService myService = new PicasaService("exampleCo-
exampleApp-1");
        myService.setUserCredentials("[EMAIL PROTECTED]",
"blackro$e");
        GAuthSubRequestFactory authFactory = new
GAuthSubRequestFactory("lh2", "exampleCo-exampleApp-1");
        authFactory.Token = (String)Session["token"];
        PicasaService service = new
PicasaService(authFactory.ApplicationName);
        service.RequestFactory = authFactory;
        service.setUserCredentials("[EMAIL PROTECTED]",
"blackro$e");
        AlbumQuery query = new
AlbumQuery(PicasaQuery.CreatePicasaUri("default"));
        Response.Write(query.Uri.ToString());


        PicasaFeed feed = service.Query(query);  // I got error at
this line


        foreach (PicasaEntry entry in feed.Entries)
        {
            Console.WriteLine(entry.Title.Text);
            AlbumAccessor ac = new AlbumAccessor(entry);
            Console.WriteLine(ac.NumPhotos);
        }

--~--~---------~--~----~------------~-------~--~----~
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