Twitter button breaks after browsing pages

(Ricardo Viteri) #1


I added this code (twitter button) via admin -> customize -> Text Content -> Top of the Pages

    <a href="" class="twitter-follow-button" data-show-count="true" data-lang="es">Seguir a @BecarioSENESCYT</a>

<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);;js.src="//";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

however after browsing around categories and posts it goes from this:

to this:

This happens when you open a discussion.

How can I fix this?


(Ricardo Viteri) #2

@codinghorror, @sam can you guys help me on this?


(Jeff Atwood) #3

I don’t know. Can you sign up for a plan at

? :wink:

In all seriousness, remember that Discourse is a single page JavaScript app. Stuff designed around the premise of traditional html page loads will not work.

(Ricardo Viteri) #4

Can someone help me… I really need this to work :slight_smile: