Hi
Im trying to make this tutorial to work but Im having some difficulties.
http://woorkup.com/2009/12/26/how-to-play-with-google-maps-and-twitter-api/
When I run the loadFromTwitter function I get a javascript error. It says "invalid label".
The code so far is:
loadFromTwitter = function(lat,lng,r) {
var url = 'http://search.twitter.com/search.json?geocode='
+lat+'%2C'
+lng+'%2C'+r
+'km&callback=manage_response';
var script = document.createElement('script');
script.setAttribute('src', url);
document.getElementsByTagName('head')[0].appendChild(script);
}
What am I doing wrong?