Twitter user timeline widget has suddenly stopped working


Twitter user timeline widget has suddenly stopped working on the home page of my website:

Remaking the widget has simply changed the id number. But that has not made it reappear.

Old code (which worked, but stopped working a couple of days ago) was:

<a class="twitter-timeline" href="" data-widget-id="344791595142492163">Tweets by @gordonsta</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.src=p+"://";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

New code is:

<a class="twitter-timeline" href="" data-widget-id="559707409305059328">Tweets by @gordonsta</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.src=p+"://";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

Hope someone may be able to enlighten me. :slight_smile:


Your site loads an old version of the Prototype JavaScript framework, released in 2009, which breaks JavaScript functionality in the browser.

Updating your version of Prototype from the Apple-hosted library to a modern version hosted at Google should help.


Many thanks. Superb.

closed #4