微博转发话题js代码

2019-04-15 13:14发布

function openqq(){ var _url=encodeURIComponent(location.href); var pic = ''; var _pic=encodeURI(pic); var _t='%23'+encodeURI('愚人节')+'%23'+encodeURI('我被愚弄了,感觉不会再爱了 !!!'); var _u='http://share.v.t.qq.com/index.php?c=share&a=index&url='+_url+'&appkey=801081727&pic='+_pic+'&assname=eeyycom&title='+_t; window.open(_u,'','width=700, height=680, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, location=yes, resizable=no, status=no') }
腾讯微博话题转发代码
新浪微博话题转发代码 function openSinaBlog() { var title = encodeURI('%23愚人节%23 我被愚弄了,感觉不会再爱了 !!!'); var pic=""; window.open('http://v.t.sina.com.cn/share/share.php?appkey=2435092779&ralateUid=2519758572&url=' + encodeURIComponent(location.href) + '&title='+title+''+'&pic='+pic, '_blank', 'width=615,height=505'); }