I'm trying to implement the follow on twitter on the website.
Twitter gives the following code:
<a href="https://twitter.com/example" class="twitter-follow-button" data-show-count="false" data-lang="it">Segui @example</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>
but when trying to run it, nop crashes.
Do anybody have idea how to implement it?
Thanks