新浪微博分享测试 PHP

新浪微博的分享和腾讯微博基本一样


公共书签

获取地址:http://t.sina.com.cn/plugins/bookmark.php

<a href="javascript:(function(){window.open('http://v.t.sina.com.cn/share/share.php?title='+encodeURIComponent(document.title)+'&url='+encodeURIComponent(location.href)+'&source=bookmark','_blank','width=450,height=400');})()">分享到新浪微博</a>

效果:

分享到新浪微博

博客挂件

获取地址:http://t.sina.com.cn/plugins/widget.php

代码:

<iframe id="sina_widget_1847931470" style="100%; height:500px;" frameborder="0" scrolling="no" src="http://v.t.sina.com.cn/widget/widget_blog.php?uid=1847931470&height=500&skin=wd_01&showpic=1"></iframe>

效果:

打开连接 http://v.t.sina.com.cn/widget/widget_blog.php?uid=1847931470&height=500&skin=wd_01&showpic=1

微博秀

获取地址:http://t.sina.com.cn/plugins/WeiboShow.php

代码:

<iframe width="100%" height="550" class="share_self"  frameborder="0" scrolling="no" src="http://service.t.sina.com.cn/widget/WeiboShow.php?width=0&height=550&fansRow=2&ptype=1&speed=0&skin=1&isTitle=1&noborder=1&isWeibo=1&isFans=1&uid=1847931470&verifier=2d9045fb"></iframe>

效果:

打开连接 

http://service.t.sina.com.cn/widget/WeiboShow.php?width=0&height=550&fansRow=2&ptype=1&speed=0&skin=1&isTitle=1&noborder=1&isWeibo=1&isFans=1&uid=1847931470&verifier=2d9045fb

签名档

获取地址:http://t.sina.com.cn/plugins/signature.php

代码:http://service.t.sina.com.cn/widget/qmd/1847931470/2d9045fb/7.png

效果:

 


欢迎转载,转载请注明:转载自[ http://www.cnblogs.com/zjfree/ ]
原文地址:https://www.cnblogs.com/zjfree/p/1881780.html