[转载]收集到的国内部分分享api

  function shareApi(target, img, content, url) {                  switch (target) {                      case 0:                          return "http://v.t.sina.com.cn/share/share.php?pic=" + img + "&title=" + content + "&url=" + url + "&rcontent=";                      case 1:                          return "http://v.t.qq.com/share/share.php?title=" + content + "&pic=" + img + "&url=" + url;                      case 2:                          return "http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?title=" + content + "&pics=" + img + "&url=" + url;                      case 3:                          return "http://share.renren.com/share/buttonshare.do?title=" + content + "&link=" + url + "&rcontent=";                      case 4:                          return "http://www.kaixin001.com/repaste/share.php?rtitle=" + content + "&rurl=" + url + "&rcontent=";                      case 5:                          return "http://www.douban.com/recommend/?title=" + content + "&url=" + url + "&rcontent=";                      default:                          return "http://v.t.sina.com.cn/share/share.php?pic=" + img + "&title=" + content + "&url=" + url + "&rcontent=";                  }              }  

原创文章,转载请注明: 转载自Happiness space

本文链接地址: [转载]收集到的国内部分分享api

评论

此博客中的热门博文

搜索即服务平台searchify的基本概念

部分开放平台url分享统计api

域名从sinaapp转到这里来了