Twitter client with JQuery not working in Firefox
- by lpdahito
Hey guys,
I've got a little script that fetches my latest tweets...
I use JQuery's getJSON method to fetch my tweets.
The script works well with Chrome and Safari but when it comes to Firefox,
nothing appears!
here's the code:
$.getJSON('http://api.twitter.com/1/statuses/user_timeline.json?screen_name=lpdahito&count=3&callback=?', function(data) {
$('#tweets').html('<p>' + data[0].text + '</p><p>' + data[1].text + '</p><p>' + data[2].text + '</p>');
});
Thanks for helping!
LP