Follow in twitter

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
11 years ago
Hi,

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
11 years ago
Found myself...
The "Follow @example" crashes because of the '@': razor is pretty allergic....
11 years ago
infinito62 wrote:
Found myself...
The "Follow @example" crashes because of the '@': razor is pretty allergic....


I had the same problem and you resolve it! Thank you so much!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.