Anyone from Google care to comment on this bug? Both are still quite real. On Monday, February 23, 2015 at 11:34:30 AM UTC-5, Hayden Chudy wrote: > > I'm now getting a new error. Anytime I add the max-results parameters with > a value greater than 1, it returns a max of two results. > > Example, going to this URL: > > > https://picasaweb.google.com/data/feed/api/user/111119783792994045061?kind=photo&access=public&prettyprint=true > > Gives me 4 entries. Adding a max-results=20 to the URL, making it this: > > > https://picasaweb.google.com/data/feed/api/user/111119783792994045061?kind=photo&access=public&prettyprint=true&max-results=20 > > I only get 2 entries... > > So, looks like paging is broken entirely. > > On Sunday, February 22, 2015 at 8:49:09 AM UTC-5, Victor Perron wrote: >> >> Can confirm, I'm using the API to retrieve some pictures from my >> "InstantUpload" album (the one that my phones do use since several years) >> >> The start-index pagination seems really broken, I can only access the >> first page. Here are the openSearch fields in my answer (given a >> max-results of 50) >> >> u'openSearch$itemsPerPage': { u'$t': 50}, >> u'openSearch$startIndex': { u'$t': 1}, >> u'openSearch$totalResults': { u'$t': 100}, >> >> When I use a max-results of 5000, now: >> >> u'openSearch$itemsPerPage': { u'$t': 1000}, >> u'openSearch$startIndex': { u'$t': 1}, >> u'openSearch$totalResults': { u'$t': 1000}, >> >> Trying to change the start-index has no influence. The totalResults value >> is also wrong in both cases (there are 1805 pictures in the album) >> >> Other thing, there is no georss:where field in my API-retrieved images, >> but there's one in Google+ Photos online web app. >> >> What's going on ? >> >> >> On Saturday, February 21, 2015 at 3:09:50 AM UTC+1, Hayden Chudy wrote: >>> >>> OK, so, first of all, you can see all of my photos here: >>> https://picasaweb.google.com/data/feed/api/user/hjc1710?kind=photo&access=public&start-index=1&prettyprint=true >>> and >>> you will notice that there are 3 of them. >>> >>> OK, moving on. Going to this URL: >>> https://picasaweb.google.com/data/feed/api/user/hjc1710?kind=photo&access=public&start-index=1&prettyprint=true&max-results=1 >>> you >>> see what you expect. Only one image and my first image, from 2015. >>> >>> However, if I then change the URL so that: >>> start-index=2 >>> (a URL of >>> https://picasaweb.google.com/data/feed/api/user/hjc1710?kind=photo&access=public&start-index=2&prettyprint=true&max-results=1 >>> >>> <https://picasaweb.google.com/data/feed/api/user/hjc1710?kind=photo&access=public&start-index=1&prettyprint=true&max-results=1>) >>> >>> we get a rather unexpected result. Instead of seeing the second photo in my >>> feed (which is from 2013), we still see the same first photo from 2015. >>> Changing start-index to be higher does not help and, in fact, changing >>> start-index does not really seem to affect the API's response *at all* (the >>> next and previous URL's change and that's it). >>> >>> I would add more photos for a bigger test case... but I have no idea how >>> to add a "public" photo so that it shows up in this feed... >>> >>> So, thoughts? Am I doing something wrong? Is this a bug? >>> >>
-- You received this message because you are subscribed to the Google Groups "Google Picasa Web Albums API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-picasa-data-api. For more options, visit https://groups.google.com/d/optout.
