There was an example of reading jsonp request in jquery given in stackoverflow. This below code works fine.
$(document).ready(function() {
var url = "http://api.twitter.com/1/statuses/user_timeline/codinghorror.json";
$.getJSON(url + "?callback=?", null, function(tweets) {
for(i in tweets) {
tweet = tweets[i];
$("#tweet-list").append(tweet.text + "<hr />");
}
});
});
I uploaded the json file into a temp webserver with url being http://cruzer.net76.net/twitter.json
But my json doesn't seemed to get parsed and the browser shows no errors/warnings.
Any help..