facebook分享

<a href="javascript:window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(document.location.href)+'&t='+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-facebook" aria-hidden="true"></i> Share </a>
twitter分享

<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> Share </a>
link分享

<a href="javascript:window.open('http://www.linkedin.com/shareArticle?mini=true&url='+encodeURIComponent(document.location.href)+'&title='+encodeURIComponent(document.title)+'&source='+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-linkedin" aria-hidden="true"></i> Share </a>
google分享

<a href="//plus.google.com/share?app=110&url=http%3A%2F%2Fphpstack-175879-514271.cloudwaysapps.com%2Fproduct%2Fdetail%2Fid%2F46" target="_blank" οnclick="window.open(this.href,'','scrollbars=1,resizable=1,width=400,height=620');return false;"><div dir="ltr" class="ozWidgetPlusButtonHeight24_"><span id="widget_bounds" style=""><div style="height:24px;" class="ozWidgetRioButton_ ozIdPlusShareButton_" id="button" title="Share"><div class="ozWidgetRioButtonContentWrapper_"><div style="margin:2px 0 0 2px;" class="ozWidgetRioButtonIcon_"><div style="width:18px;height:18px;" class="ozWidgetRioButtonSvgImageWithFallback_ ozWidgetRioButtonIconImage_ ozWidgetRioButtonIconImage18_"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="18px" height="18px" viewBox="0 0 14 14" class="ozWidgetRioButtonSvg_"><path d="M12.5,6.2V4.7h-1.1v1.5H9.8v1.1h1.5v1.5h1.1V7.3H14V6.2H12.5z"></path><path d="M4.4,6.1v1.7h2.3c-0.2,1-1.1,1.8-2.3,1.8C3,9.6,1.8,8.4,1.8,7S3,4.4,4.4,4.4C5,4.4,5.6,4.6,6,5l1.3-1.3 C6.5,3.1,5.6,2.6,4.4,2.6C2,2.6,0,4.6,0,7s2,4.4,4.4,4.4c2.5,0,4.2-1.8,4.2-4.3c0-0.3,0-0.7-0.1-1C8.5,6.1,4.4,6.1,4.4,6.1z"></path></svg></div></div><span style="font-size:11px;line-height:22px;" class="ozWidgetRioButtonContents_">Share</span></div></div></span></div></a>
Pinterest分享

<a href="javascript:window.open('https://www.pinterest.com/pin/create/button/?url='+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)" οnclick="window.open(this.href,'','scrollbars=1,resizable=1,width=600,height=450,top=100,left=350');return false;"><img src="/Theme/default/image/pinterest.png" style="margin-right: 4px;">Pinterest</a>
google分享万能,只需要把链接换一下就行
————————————————
版权声明:本文为CSDN博主「热爱前端的小君同学」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/qq_37815596/article/details/80902516

社交分享(facebook分享、twitter分享、link分享、google分享)相关推荐

  1. web网页动态分享facebook和twitter

    介绍 facebook分享 http://www.facebook.com/sharer.php?t=${text}u=encodeURIComponent('静态html') twitter分享 h ...

  2. instagram分享_Facebook,Twitter,Instagram,Google等使用的字体和颜色

    instagram分享 Social login buttons, links to social media channels - in 2020 this is still a thing in ...

  3. Facebook、Twitter、LinkedIn分享按钮总结

    Facebook.Twitter.LinkedIn都有分享按钮组件,可以通过点击按钮分享当前页面. 点击按钮后社交平台会得到当前页面的URL,然后会调用爬虫来抓取这个URL的信息, 这里有两种情况: ...

  4. 分享链接内容到Facebook和twitter

    使用<a href=""></a>分享链接的好处是,不需要第三方的依赖,只要客户端能访问Facebook和twitter即可(使用VPN) 1.  分享链接 ...

  5. 如何在自己网站内分享内容到twitter

    要在您的网站内分享内容到 Twitter,您可以使用 Twitter 提供的 Web Intents API.Web Intents API 是一种 Web 技术,允许您在网站内启动 Twitter ...

  6. Facebook 与 Twitter 再曝漏洞!用户数据再次被共享?

    整理 | 刘静 出品 | CSDN(ID:CSDNnews) 自2018年3月份以来,社交网络用户隐私泄露等问题一直都备受关注,当时有报道称,剑桥分析公司(Cambridge Analytica)不正 ...

  7. Facebook 、Twitter、Snapchat等巨头齐聚GMIC在线,畅谈营销增长

    GMIC在线将于4月25-27日在线上举行,以科学和技术视角,以商业与现代文明精神,探寻商业生机与科技力量,追求生长与生命力,帮助企业实现逆势破局.幂次生长. 整个大会邀请到了100+头部企业加入,诸 ...

  8. Android中使用Kotlin实现Google、FaceBook、Twitter登录的封装

    最近由于项目做国际化,所以需要接入Google.FaceBook.Twitter等各种第三方登录的Api,于是查找官网资料,申请各种key和密钥,最后成功完成了这三个第三方登录Api的功能,但是由于很 ...

  9. facebook、twitter、facebook登录、whatsapp分享、微信分享

    facebook.twitter.facebook 登录.whatsapp 分享.微信分享 几个概念 爬虫 所谓爬虫,是一种按照一定的规则,自动地抓取万维网信息的程序或者脚本. html 元素图谱 对 ...

最新文章

  1. 大数据的三个特征(重要挑战)
  2. HTML`CSS_网站页面不同浏览器兼容性问题解决
  3. 算法导论-MIT笔记
  4. LindDotNetCore~Mock对实际应用中的意义
  5. 【Web安全】php://filter 的浅略底层分析
  6. shell讲解-小案例
  7. Delphi关于记录文件的操作
  8. 导出怎么用_微信好友账号怎么导出?微信怎么备份通讯录?
  9. 【debug】使用lambda在循环中传参时,参数总为同一个值
  10. 【英语学习】【English L06】U08 News L5 They are expecting a baby!
  11. sriov查看pf-vf对应关系
  12. Confirm Hosts Registration with the server failed
  13. 警告: 程序集绑定日志记录被关闭。解决方法
  14. AES加密SharePreference数据
  15. 数字图像处理与Python实现-边缘检测-Roberts算子边缘检测
  16. git/gitgub
  17. C#chart控件如何同时显示两条曲线?
  18. Unity Metaverse(二)、Mixamo Animator 混合树与动画融合
  19. 航空模型手工制作_小学生的简易航空模型地制作
  20. 如何在WhatsApp中引用某人

热门文章

  1. cv2 图像逆时针旋转180度
  2. CISCO数据中心虚拟化之VDC技术和配置
  3. Dubbo 通信协议 dubbo 协议为什么不能传大包
  4. 数据库查询语句详细实例解析(以mysql为例)
  5. java获取ppt备注,Java 添加、修改、读取、删除PPT备注
  6. C51火灾报警器和光源追踪板联调
  7. go gmp --- goroutine抢占调度源码分析
  8. 2022年全球与中国房间调度系统行业发展趋势及投资战略分析报告
  9. java通过IP解析地理位置
  10. 商机 | 大数据/政务云采购清单 招标5起,最高招标价为713万(10.18-10.20)