赞
踩
推特:https://twitter.com/intent/tweet?url=网址&text=内容
脸书:http://www.facebook.com/sharer.php?u=网址
addthis:https://www.addthis.com/国外的addthis,不知道为什么老是显示不出来
后端给的东西:
<!DOCTYPE html> <html> <head> <!-- twitter --> <!-- 标题 --> <meta name="twitter:title" content="Horamite" /> <!-- 描述 --> <meta name="twitter:description" content="Horamite description" /> <!-- 缩略图 --> <meta name="twitter:image" content="https://zhongce.aaake.com/img/logo2x.02b6ccc5.png" /> <!-- 卡片 --> <meta name="twitter:card" content="summary" /> <!-- 网址 --> <meta name="twitter:url" content="" /> <!-- Facebook --> <!-- 标题 --> <meta property="og:title" content="Horamite"> <!-- 类型 --> <meta property="og:type" content="article" /> <!-- 描述 --> <meta property="og:description" content="Horamite description"> <!-- 图片 --> <meta property="og:image" content="https://zhongce.aaake.com/img/logo2x.02b6ccc5.png"> <!-- 链接 --> <meta property="og:url" content=""> </head> <body> <a href="javascript:window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(document.location.href),'_blank','toolbar=yes, location=yes, directories=no, status=no, menubar=yes, scrollbars=yes, resizable=no, copyhistory=yes, width=600, height=450,top=100,left=350');void(0)"> <i class="fa fa-facebook" aria-hidden="true"></i> facebook分享 </a> <a href="javascript:window.open('http://twitter.com/home?status='+encodeURIComponent(document.location.href)+' '+encodeURIComponent(document.title),'_blank','toolbar=yes, location=yes, directories=no, status=no, menubar=yes, scrollbars=yes, resizable=no, copyhistory=yes, width=600, height=450,top=100,left=350');void(0)"> <i class="fa fa-twitter" aria-hidden="true"></i> 推特分享 </a> <a href="document.location.href"> 测试</a> </body> </html>
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。