[SOLVED] Can't get JSON data out of Google Picasa
Hi,
I'm not sure if this a Picasa thing or a jQuery thing, but I just can't get the following code to work. It works when I type the URL directly into the browser, but not when I do a getJSON call in jQuery:
-
<html>
<head>
<script type="text/javascript" src="jquery-1.3.2.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$.getJSON("http://picasaweb.google.com/data/feed/api/user/jdiderik?kind=album&access=public&alt=json-in-script",
function(data) {
$.each(data.feed.entry, function(item) {
alert("something returned");
});
});
});
</script>
</head>
<body>
</body>
</html>
It's driving me a little insane, and I've not had any response over on the Picasa board at all.
Thanks for any pointers folks...