Twitter json output
- by Bunny Rabbit
$(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?