I need some help with the google feeds API. My ex-colleagues wrote some javascript using the EmbedPicasaGallery. You can find the .md here.
They use a long script. I can post it if needed but the point is the Picasaweb feed API.
if (meta_opts.authkey){
authkey = '&authkey=' + meta_opts.authkey;
}
if (meta_opts.albumid) {
showAlbum($this,meta_opts,meta_opts.albumid)
}
else {
$this.prepend($album_list);
$.getJSON('http://picasaweb.google.com/data/feed/api/user/'
+ user + '?kind=album&access=visible' + authkey
+ '&alt=json-in-script&thumbsize=' + meta_opts.size + 'c&callback=?',
renderAlbumList
);
}
};
The code that is broken (in my understanding) is
$.getJSON('http://picasaweb.google.com/data/feed/api/user/'
+ user + '?kind=album&access=visible' + authkey
+ '&alt=json-in-script&thumbsize=' + meta_opts.size + 'c&callback=?',
renderAlbumList
);
I know picasa is slowly dissapearing. When you login you get a different type of url now:
https://get.google.com/albumarchive/NUMBERS/album/NUMBERSANDLETTERS
Whereas 'in the old days' you got
user/NUMBERS/album/NUMBERS
If I use the way of linking in the script and enter the details from the new method I get following error:
Wheres if I leave out /album/NUMBERSANDLETTERS like this:
https://picasaweb.google.com/data/feed/api/user/117827817825830816166/
I get a list of the albums of the user.
Anybody knows how I can integrate the new way to get the old result?
Thanks, Thomas
I've broaden my search by including Google Photo. I found a solution here.
From here on I knew the next steps. So