Thank you Detlev, that did the trick :) -- Christian
On 5 Jun., 16:18, Detlev <[email protected]> wrote: > In the API there two main kinds of request: those for individual > entries and those for collection of entries (aka 'kinds'). > You seem to have been using a request for an individual album entry, > noticeable by the 'entry' keyword in the URL. > In order to retrieve all photos within an album, you have to query the > album "feed", and essentially replace the 'entry' keyword in the URI > with 'feed'. > When you request an album entry though, the feed URL is already > provided to you as the "feed" link element. > This works for public and private albums alike of course. Just add the > 'authKey' parameter for a private album (note that when you are the > owner of > the album and doing an authenticated request, you won't need the > authKey). > With the kind parameter you specify what type of entry you want > included in a "feed" request. So in your example, this would have been > the correct query: > > http://picasaweb.google.com/data/feed/api/user/{my username}/albumid/ > {the albumid}?authkey={the authkey}&kind=photo > > (note that 'photo' is the default kind for album and doesn't need to > be specified) > > On Jun 5, 1:10 am, Christian Sparre <[email protected]> wrote: > > > > > Hi > > > I'm using the .NET library > > > I finally found out how to fetch albums that are private using the > > auth key for the album, no problem (I create the feedUri manually). > > But now I want to get the Photos in this album. So I create a > > PhotoQuery and see that the only difference in the feed uri is the > > kind=photo part. So I create my PhotoQuery based on the url I used to > > fetch the album. Now the url looks like this: > > >http://picasaweb.google.com/data/entry/api/user/{my username}/albumid/ > > {the albumid}?authkey={the authkey}&kind=photo > > > I retrive a PicasaFeed and this also states that the kind is photo. > > But the feed only contains 1 element, the previous album! And fails > > when I try to create a PhotoAccessor (as the entry is not a photo) :) > > > How should I retrieve private photos and albums using the authkey. I > > can't find anywhere in the .NET library where I can specify this > > authkey. > > > The idea is to create a custom photoalbum that takes albums from > > different users a displays them in subalbums etc. I plan to maintain a > > list of these albums and their authkeys (if they are private).- Skjul tekst > > i anførselstegn - > > - Vis tekst i anførselstegn - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
