Twitter user timeline widget has suddenly stopped working


#1

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="https://twitter.com/gordonsta" 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.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

New code is:

<a class="twitter-timeline" href="https://twitter.com/gordonsta" 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.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

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


#2

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.


#3

Many thanks. Superb.


#4