新浪微博开发平台地址 http://open.weibo.com/
来源:互联网 发布:周杰伦皮影戏知乎 编辑:程序博客网 时间:2024/05/22 00:27
新浪微博开发平台地址 http://open.weibo.com/
-----
新浪微博:
1、各网站、论坛、博客等通用代码: <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′);})()” title=”新浪微博分享”><img src=”http://t.sina.com.cn/favicon.ico”
2、新浪官方分享到代码:
<a href=”javascript:void((function(s,d,e,r,l,p,t,z,c) {var f=’http://v.t.sina.com.cn/share/share.php?appkey=真实的 appkey’,u=z||d.location,p=['&url=',e(u),'& title=',e(t||d.title),'&source=',e(r),'&sourceUrl=',e(l),'& content=',c||'gb2312','&pic=',e(p||'')].join(”);function a() {if(!window.open([f,p].join(”),’mb’, ['toolbar=0,status=0,resizable=1,width=440,height=430,left=',(s.width- 440)/2,',top=',(s.height-430)/2].join(”)))u.href=[f,p].join(”);}; if(/Firefox/.test(navigator.userAgent))setTimeout(a,0);else a();}) (screen,document,encodeURIComponent,”,”,’图片链接|默认为空’,'标题|默认当前页标题’,'内容链接|默认当前页location’,'页面编码gb2312|utf-8默认gb2312′));”>分享至微博</a>
你好 http://t.sina.com.cn/ -> <script>document.write(encodeURIComponent(“你好 http://t.sina.com.cn/”));</script>
开心网:
document.writeln("<a href="javascript:window.open(\'http:\/\/www.kaixin001.com\/repaste\/share.php?rtitle=\'+encodeURIComponent(document.title.substring(0,76))+\'&rurl=\'+encodeURIComponent(location.href)+\'&rcontent=\',\'_blank\',\'scrollbars=no,width=600,height=450,left=75,top=20,status=no,resizable=yes\'); void 0" style="color:#000000;text-decoration:none;font-size:12px;font-weight:normal"><SPAN style="PADDING-RIGHT: 5px; PADDING-LEFT: 5px; FONT-SIZE: 12px; PADDING-BOTTOM: 0px; MARGIN-LEFT: 10px; CURSOR: pointer; PADDING-TOP: 5px"><IMG alt=转帖到开心网 src="http:\/\/img1.kaixin001.com.cn\/i\/favicon.ico" align=absMiddle border=0> 转帖到开心网<\/SPAN><\/a>");
人人网:
document.writeln("<a href="javascript:window.open(\'http://share.renren.com/share/buttonshare.do?title=\'+encodeURIComponent(document.title.substring(0,76))+\'&link=\'+encodeURIComponent(location.href)+\'&content=\',\'_blank\',\'scrollbars=no,width=600,height=450,left=75,top=20,status=no,resizable=yes\'); void 0" style="color:#000000;text-decoration:none;font-size:12px;font-weight:normal"><SPAN style="PADDING-RIGHT: 5px; PADDING-LEFT: 5px; FONT-SIZE: 12px; PADDING-BOTTOM: 0px; MARGIN-LEFT: 10px; CURSOR: pointer; PADDING-TOP: 5px"><IMG alt=转帖到人人网 src="http:\/\/s.xnimg.cn\/favicon-rr.ico" align=absMiddle border=0> 转帖到人人网<\/SPAN><\/a><\/div>");
网易微博分享代码
1、样式一:任何网站、博客都可以调用
<a href=”javascript:(function(){window.open(‘http://t.163.com/article/user /checkLogin.do?link=http://news.163.com/&source=’+'土豆网’+ ‘&info=’+encodeURIComponent(document.title)+’ ‘+encodeURIComponent(location.href),’_blank’,'width=510,height=300′);})()” title=”分享到网易微博”><img src=”http://www.taoba123.com/images/resource_10544871274700952v.png” alt=”网易微博分享” border=”0〃></a>
<a href=”javascript:(function(){window.open(‘http://t.163.com/article/user /checkLogin.do?link=http://news.163.com/&source=’+'土豆网’+ ‘&info=’+encodeURIComponent(document.title)+’ ‘+encodeURIComponent(location.href),’_blank’,'width=510,height=300′);})()” title=”分享到网易微博”><img src=”http://www.taoba123.com/images/resource_10544871274700952v.png” alt=”网易微博分享” border=”0〃></a>
2、样式二
<a target=”_self” onclick=”(function(){var url = ‘link=http://news.163.com/&source=’+ encodeURIComponent(‘网易新闻’)+ ‘&info=’+ encodeURIComponent(document.title) + ‘ ‘ + encodeURIComponent(document.location.href);window.open(‘http://t.163.com/article/user/checkLogin.do?’+url+’&’+new Date().getTime(),’newwindow’,'height=330,width=550,top=’+(screen.height-280)/2+’,left=’+(screen.width-550)/2+’, toolbar=no, menubar=no, scrollbars=no,resizable=yes,location=no, status=no’);})()” href=”javascript:void(0);”><img height=”19px” border=”0〃 align=”absMiddle” src=”http://img1.cache.netease.com/cnews/css09/wblog.gif” alt=”分享到网易微博” title=”分享到网易微博” />分享到网易微博</a>
<a target=”_self” onclick=”(function(){var url = ‘link=http://news.163.com/&source=’+ encodeURIComponent(‘网易新闻’)+ ‘&info=’+ encodeURIComponent(document.title) + ‘ ‘ + encodeURIComponent(document.location.href);window.open(‘http://t.163.com/article/user/checkLogin.do?’+url+’&’+new Date().getTime(),’newwindow’,'height=330,width=550,top=’+(screen.height-280)/2+’,left=’+(screen.width-550)/2+’, toolbar=no, menubar=no, scrollbars=no,resizable=yes,location=no, status=no’);})()” href=”javascript:void(0);”><img height=”19px” border=”0〃 align=”absMiddle” src=”http://img1.cache.netease.com/cnews/css09/wblog.gif” alt=”分享到网易微博” title=”分享到网易微博” />分享到网易微博</a>
搜狐微博分享代码
javascript:void(((function(s,d,e){var f='http://t.sohu.com/third/post.jsp?&url='+e(location.href)+'&title='+e(d.title),u=d.location;function a(){if(!window.open(f,'sohushare',['toolbar=0,status=0,resizable=1,width=660,height=470,left=',(s.width-660)/2,',top=',(s.height-470)/2].join('')))u.href=f;};if(-[1,])setTimeout(a,0);else a();})(screen,document,escape)))
- 新浪微博开发平台地址 http://open.weibo.com/
- http://open.weibo.com/wiki/Oauth2/authorize 新浪登录接口
- 大家好,我的新浪微博http://weibo.com/litaowap,昵称是litaowap,互相关注。
- 新浪微博互粉 http://weibo.com/51centos
- 欢迎加新浪微博: weibo.com/zhengkarl
- 新浪微博搜索 s.weibo.com 非无偿
- QQ开放平台地址 http://open.qq.com/
- 我的微博 http://weibo.com/zpxp
- Hello China操作系统微博:http://weibo.com/2196920292
- 我的微博:http://weibo.com/thinkinchaos
- 哈哈,新开了微博:http://weibo.com/measures
- 《大象--Thinking in UML 第二版》已于近日在当当首发,同时邀请各位加入新浪微博[大象-thinkinginUml群]:http://q.weibo.com/1483929
- 新浪微博Failed to find provider info for com.sina.weibo.sdkProvider
- 使用新浪API自动登录报异常:com.weibo.net.WeiboException: HTTP/1.1 403 Forbidden
- 各位玩新浪的SAE的 请点个关注http://weibo.com/i/2062352633
- http://weibo.com/p/1001603736268679865066
- http://weibo.com/p/1001603753836513777062
- 今天注册了一个微博,http://weibo.com/u/2640314483
- ThinkPHP 3.2.3 数据表大小写问题(查询时候强制转换小写)解决办法
- Android Bitmap Compress 稳定版
- C#委托的介绍(delegate、Action、Func、predicate)
- Linux下为PHP添加MongoDB扩展
- [picture]saber
- 新浪微博开发平台地址 http://open.weibo.com/
- NavigationController 常用方法以及弹簧
- ccs平台 28335mcu 关于变量重复定义的解决方案
- Hdu 1059 Dividing(dp)
- POJ2406简单KMP
- SQL Server用户登录失败
- 树形列表成员- DevExpress.XtraTreeList.TreeList
- Android报Caused by: android.content.res.Resources$NotFoundException: String resource ID #0x0 .解决办法
- SpringMVC 学习笔记(六) 数据绑定和JSR校验