Result
jQuery
//jsonデータを取得
$.getJSON("http://twitter.com/statuses/user_timeline/ユーザーID.json?callback=?",
//id="twitter"にテキストで返す
function(data) {$("#twitter").html(data[0].text);
});
css
#twitter{
margin:25px;
width: 400px ;
padding:25px;
background:#eee;
}
html
<p id="twitter"></p>
[myphp file=’jquery-other-snippets’]
