tweet按钮不会出现 [英] tweet button doesn't appear

查看:153
本文介绍了tweet按钮不会出现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在html页面上添加一个tweet按钮,我使用twitter按钮生成器的官方代码
http://twitter.com/about/resources/buttons#tweet

I'm trying to add a tweet button to html page , I use the official code from the twitter button generator , http://twitter.com/about/resources/buttons#tweet

当我在Chrome上测试页面时, Firefox,按钮没有出现,只有带下划线的文字说:Tweet

when I test the page on chrome and Firefox , the button doesn't appear , only an underlined text says : "Tweet"

这里是代码:

  <html xmlns="http://www.w3.org/1999/xhtml">
  <head>
  </head>
  <body>
  <a href="https://twitter.com/share" class="twitter-share-button" data-url="http://www.3eesho.com/magazine/index.html" data-text="issue2 now" data-via="3eesho" data-hashtags="ipad,health,arabicmagazine">Tweet</a>
    <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
  </body>
</html>


推荐答案

我遇到了同样的问题,直到我缩小到可能被阻止的曲奇。我从 https://disconnect.me/ 运行了一个名为Disconnect的附加组件。一旦我禁用了这个插件并重新启动了浏览器,Tweet按钮又开始工作了。

I had this same problem, and it drove me nuts until I narrowed it down to cookies possibly being blocked. I was running an Add-On called 'Disconnect' from https://disconnect.me/ . Once I disabled this addon and restarted the browser the Tweet button started working again.

因此,如果您使用该插件或任何其他插件来阻止Cookie或阻止您被社交网站跟踪,如果你想看到鸣叫按钮,你需要禁用它。

So if you're using that addon or any other one to block cookies or prevent you from being tracked by social networking sites, you'll need to disable it if you want to see the tweet button.

这篇关于tweet按钮不会出现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆