`
ma3310
  • 浏览: 16010 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

各种微博一键分享方法

阅读更多
微博一键分享主要通过对指定 URL 添加各种参数来实现;也可以用在线生成器自动生成。

示例:

搜狐微博一键分享 URL,只需三个参数:
http://t.sohu.com/third/post.jsp?url=http://ma3310.vicp.net&title=搜狐一键分享真好用!&content=utf-8

网易微博一键分享 URL:
http://t.163.com/article/user/checkLogin.do?source=网易科技&info=参数source貌似需要申请di...可是如何申请捏,要送红包么?

passit.cn 生成的代码,贴在页面上就能用:
<script type="text/javascript">
bookmark_service_div="bookmark,baidu,douban,sohuweibo,taojianhu,hexun,qqkj,yahoo,tianysq,more";
bookmark_service="sinaweibo,163weibo,qqweibo,kxzt,xnzt,more";</script>
<div class="passit_barDiv"><a class="passit_default" href="http://www.passit.cn/bookmark.html" target="_blank"></a></div>
<script type="text/javascript">
//生成页面的时候需要自定义这些变量
var passit_title = "";//自定义分享标题,删除和留空表示使用默认
var passit_url = "";//自定义分享网址,删除和留空表示使用默认
var passit_content= "";//自定义分享内容,删除和留空表示使用默认
</script>
<script type="text/javascript" src="http://www.passit.cn/js/passit_bar_big_new.js?pub=4896&simple=1" charset="UTF-8"></script>

参考:
各种分享平台汇总:http://www.mhtml5.com/2011/03/704.html
实用分享代码:http://www.koryi.net/web/694.html

微博分享(一键转发) api 文档:
http://open.t.sina.com.cn/wiki/index.php/ShareCode
http://open.t.sohu.com/en/%E4%B8%80%E9%94%AE%E5%88%86%E4%BA%AB%E5%88%B0%E6%90%9C%E7%8B%90%E5%BE%AE%E5%8D%9A
http://open.t.qq.com/apps/share/explain.php
http://www.wbto.cn/share.html

微博分享工具在线生成器:
http://www.passit.cn/
http://www.bshare.cn/
http://www.addthis.com/
分享到:
评论
2 楼 ma3310 2011-04-06  
wad12302 写道
我想要的不是 分享到哪里去。

而且 代码的实现。

这种例子只能分享别人现成的。

现在想开发一个自己的东西,没有代码

是否有js代码 可以参考 希望提供

好好看一下内容
1 楼 wad12302 2011-04-05  
我想要的不是 分享到哪里去。

而且 代码的实现。

这种例子只能分享别人现成的。

现在想开发一个自己的东西,没有代码

是否有js代码 可以参考 希望提供

相关推荐

Global site tag (gtag.js) - Google Analytics