<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>点击按钮自动加关注代码——新浪微博</title> </head> <body> <iframe allowtransparency="" border="0" frameborder="0" height="22" marginheight="0" marginwidth="0" scrolling="no" src="http://widget.weibo.com/relationship/followbutton.php?width=200&height=22&uid=1282557022&style=5&btn=red&dpc=1" style=" 64px; height: 22px;" width="200"></iframe> </body> </html>
把uid后面的数字修改为自己微博账号,样式也可以自己修改
补充内容 (2011-12-8 17:15):
也可进入微博组件中自己更换样式