博客园首页显示自己的微博

<div id="weibowidget">
<script type="text/javascript">
var weibocode = '<if'
weibocode +='rame width="100%" height="300" class="share_self"  frameborder="0" scrolling="no" src="http://widget.weibo.com/weiboshow/index.php?language=&width=0&height=550&fansRow=2&ptype=1&speed=0&skin=1&isTitle=1&noborder=1&isWeibo=1&isFans=1&uid=2421480963&verifier=8b931ff0&dpc=1">';
document.getElementById('weibowidget').innerHTML = weibocode;
</script>
</div>


微博代码:微博>设置>我的工具>微博秀

博客园:博客设置>博客侧边栏公告(支持HTML代码)

原文地址:https://www.cnblogs.com/feelgood/p/3784063.html