给网站添加新浪微博关注按钮
给网站添加新浪微博关注按钮,新浪微博是国内目前互动性最好的产品了,很多网站都添加了新浪微博关注按钮!
展示方式:加关注+粉丝个数!
代码如下:利用frame框架实现!
<iframe width=”136″ scrolling=”no” height=”24″ frameborder=”0″ src=”http://widget.weibo.com/relationship/followbutton.php?language=zh_cn&width=136&height=24&uid=2818603151&style=2&btn=red&dpc=1″ border=”0″ marginheight=”0″ marginwidth=”0″ allowtransparency=”true”></iframe>
将以上代码放到你需要添加的地方即可,同时可以到新浪官方开放平台找教程添加,但是效果不太一样,所以大家都参考使用吧!
代码解析:stype=2代表显示粉丝个数,type=1代表不显示粉丝个数!