I confirm this is because of visibility of album. I'm was using http://picasaweb.google.com/data/feed/base/user/user/albumid/myAlbumID?alt=json-in-script&callback=showImages with success, but when I changed the album visibility (from "Public" to "Only me" - so it doesn't appear automatically on G+! Sigh! ><), I started getting that blank page with "No album found" message.
+1 to enable using this with albums set to "Limited" visibility. Cheers! On Sunday, February 3, 2013 4:16:00 PM UTC-2, Steve North wrote: > > Hi all, > I'm working in Javascript, sending my requests from JQuery, using > $.getJSON(). > My images are in a Web Album, with its permissions set to: "Limited, > anyone with the link". > Then I am using the returned URLS for the individual images in my own > application. > So, the request I am sending from Javascript is this: > > http://picasaweb.google.com/data/feed/base/user/myUserID/albumid/myAlbumID?thumbsize=1600&alt=json&kind=photo&authkey=myAlbumAuthKey&hl=en_GB&fields=entry%28media:group%29 > This works fine and I can loop through the JSON object, getting back > item.url values for all of the images in the web folder. > > Now, I need to filter the images in the same Web Album, only returning > those with a specific tag. > I've tried lots of combinations of requests, based on the documentation > and forum examples, but this doesn't work for me. > > The Developers Guide to Protocol says: > "Note: You can search for photos in a particular album by adding the album > ID to the end of the feed." > > So... > I should be able to send a request: > > http://picasaweb.google.com/data/feed/base/user/myUserID/albumid/myAlbumID?thumbsize=1600&alt=json&kind=photo&authkey=myAlbumAuthKey&tag=myTagName > > BUT the server response does not include any images (let alone any that > match the tag). > > I then I tried it with alt=rss: > > http://picasaweb.google.com/data/feed/base/user/myUserID/albumid/myAlbumID?thumbsize=1600&alt=rss&kind=photo&authkey=myAlbumAuthKey&tag=myTagName > > > The server responds with an RSS feed with just the image in that album > that is tagged with myTagName...so, that works! > > So, I then try listing the tags in this Web Album (kind=tag) sending a > JSON request: > > http://picasaweb.google.com/data/feed/base/user/userID/albumid/albumID?alt=json&kind=tag > > The server responds: "No album found." > > However, if I change to alt=rss: > > http://picasaweb.google.com/data/feed/base/user/userID/albumid/albumID?alt=rss&kind=tag > > The server responds correctly with a list of the tags in this Web Album. > > I then tried to get a JSON list of web albums for my user: > > If I send: > https://picasaweb.google.com/data/feed/api/user/userID > I get back an RSS response with a listing of my albums. > > However, if I send: > http://picasaweb.google.com/data/feed/api/user/userID?alt=json > > I get back a json response that includes a link to the RSS feed with the > album list, but it doesn't include my albums titles. > It's missing the bit with (for example): > <title>lolcats</title> > <summary>Hilarious Felines</summary> > > I am also confused by a slightly different syntax for searching tags, that > I have encountered (including inside the responses from the server!). It > has the tag properties in the path, such as: > > http://picasaweb.google.com/data/entry/base/user/userID/tag/myTagName?alt=json > I tired this and I got back: The server response to this is: "No such tag: > <myTagName>". > Can you please supply a working example of a JSON request for (1) photos > by tag within a web album, (2) photos by tag for a given user and (2) web > albums for a given user? > Or is anything beyond returning the contents of a Web Album currently > broken for JSON? > One thought, could this be because my Web Albums are set to: "Limited, > anyone with the link", rather than Public? > > Thanks > > Steve > -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
