Twitter widget no longer displaying in website


Hello, at my website, my Twitter timeline no longer displays. Currently I have the script (which I generated from the Twitter widget generator) copied into two locations on the page: in the right-most column beneath the image slider, and in a container beneath that (I wanted to see if the problem had anything to do with the column width. All that displays in both locations is “Tweets by @STVDPSchool.”

Up until early August, this timeline displayed just fine. What happened, and what changes do I need to make? Thanks.


Hi Ted,

Checking your website it appears that your references to our widgets script are corrupted, I see the following error in the console:


Your embed codes appear to have been HTML-escaped inside of your source, which is preventing the script from executing:

<script>// <!&#091;CDATA&#091;
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)&#091;0&#093;,p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);;js.src=p+"://";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
// &#093;&#093;></script></p>

The cause of this is likely in your own website, perhaps it’s double-escaping the code as a security measure. You could try changing the <script> portion from the inline block we provide by default to this:

<script async src="//"></script>

Note that you only need to include this once on your page for all widgets: The default code ensures that the tag doesn’t get duplicated but this way you should just put the code in your page footer and remove all other Twitter <script> tags.

Let me know how you get on!