Twitter json output

Posted by Bunny Rabbit on Stack Overflow See other posts from Stack Overflow or by Bunny Rabbit
Published on 2010-06-12T11:37:01Z Indexed on 2010/06/12 11:42 UTC
Read the original article Hit count: 337

Filed under:
|
|
|
$(function(){
            $.ajax({
                url:'http://api.twitter.com/1/statuses/user_timeline.json?screen_name=user_name&callback=?',
                //dataType:'json',
                success:function(data){$('body').append('the data is' +data);}
            });
            });

the above code with dataType line prints out [objects] while with the dataType line commented it prints out nothing ...how can i get it to print the json output from the server rather then the javascript object?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about AJAX