Hi,
I have a Twitter Follow button implemented on my website. The code for this I generated using the Button Generator (https://about.twitter.com/resources/buttons#follow). But after implementing the code, I’m only seeing the plain text Follow @username.
The widgets.js is loading normally and I don’t think the script is conflicting with other JS on the website. The script is copied 1 on 1 so don’t think that’s the problem either.
This is the code I implemented:
<a href="https://twitter.com/DijkenSport" class="twitter-follow-button" data-show-count="false">Follow @DijkenSport</a><script>!function(d,s,id)\{var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id))\{js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document,'script','twitter-wjs');</script>
Update: I think only 15 minutes later I got an e-mail from another customer telling me that his Twitter Share button is not showing anymore while it used to work earlier. Is there anything broken @ Twitter?
I hope someone has the solution!
thanks,
Allan