1
我无法找到我需要的。总之什么:动态Twitter的小工具
如果我有一个网站,而且用户能够进入他们的Twitter手柄@user
- 我如何动态拉回到他们的鸣叫?
微博可以让你制作自己的小工具,但不是user
被调用,它是一个随机数1494028230983
感谢
我无法找到我需要的。总之什么:动态Twitter的小工具
如果我有一个网站,而且用户能够进入他们的Twitter手柄@user
- 我如何动态拉回到他们的鸣叫?
微博可以让你制作自己的小工具,但不是user
被调用,它是一个随机数1494028230983
感谢
如果我明白你的问题,那么我会建议你使用Tweet的jQuery插件,它将根据给定的用户名从twitter获取推文的数量。这真的很容易使用。
$(".tweet").tweet({
username: username,
join_text: "auto",
avatar_size: 32,
count: 5,
auto_join_text_default: "we said,",
auto_join_text_ed: "we",
auto_join_text_ing: "we were",
auto_join_text_reply: "we replied to",
auto_join_text_url: "we were checking out",
loading_text: "loading tweets..."
);
您可以通过CSS使用class
名称适用风格,像
li{margin:5px 0;border:solid gray 1px;border-radius:2px;}
li.tweet_odd{ background:#eee;}
li.tweet_even{ background:#f0fff0;}
li a.tweet_avatar{float:left;margin-right:5px;}
li span.tweet_time a{text-decoration:none;color:green}
li span.tweet_text a{text-decoration:none;color:green}
li span.tweet_text{color:#333}
欲了解更多信息,请查看插件的网站。