Did this the other day. You probably want to use a library for this to make things easier. First get his twitter JSON feed (http://twitter.com/status/user_timeline/.json?count=10&callback=?) using Jquery's getJSON(). Process the returned data accordingly.
发布评论
评论(2)
最简单的方法是使用以下方法:
只需将“用户名”替换为客户端的用户名和要显示的推文数量。用CSS设置样式就完成了!
This simplest way to do it is using this:
Just replace "username" with the client's username and the count to however many tweets you want to display. The style with CSS and you are done!
前几天这样做过。您可能想使用一个库来使事情变得更容易。首先使用 Jquery 的 getJSON() 获取他的 twitter JSON feed (http://twitter.com/status/user_timeline/.json?count=10&callback=?)。对返回的数据进行相应处理。
Did this the other day. You probably want to use a library for this to make things easier. First get his twitter JSON feed (http://twitter.com/status/user_timeline/.json?count=10&callback=?) using Jquery's getJSON(). Process the returned data accordingly.