QZone:
"http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url={{URL}}&title={{TITLE}}&desc={{DESC}}&summary={{SUMMARY}}&site={{SOURCE}}&pics={{IMAGE}}"
QQ:
"http://connect.qq.com/widget/shareqq/index.html?url={{URL}}&title={{TITLE}}&source={{SOURCE}}&desc={{DESC}}&pics={{IMAGE}}&summary={{SUMMARY}}"
新浪微博:
"http://service.weibo.com/share/mobile.php?url={{URL}}&title={{DESC}}&pic={{IMAGE}}&appkey={{WEIBOKEY}}"
上面大括號部分應用中請替換成實際要分享的數據。
可以自定義一個方法通過 window 來打開一個新窗口展示分享頁面:
1 var sharetoqq=function(content,url,picurl) 2 { 3 var shareqqstring='http://v.t.qq.com/share/share.php?title='+content+'&url='+url+'&pic='+picurl; 4 window.open(shareqqstring,'newwindow','height=100,width=100,top=100,left=100'); 5 }
