Twitter client with JQuery not working in Firefox

Posted by lpdahito on Stack Overflow See other posts from Stack Overflow or by lpdahito
Published on 2010-06-08T01:42:03Z Indexed on 2010/06/08 1:52 UTC
Read the original article Hit count: 323

Filed under:
|
|
|
|

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

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about AJAX