Monday 25 March 2013

Fixing the Twitter Feed Widget

I've been building a new website (more of that in a later post!) and I wanted to integrate my (new!) Twitter feed. Usefully, Twitter provides a handy way of producing java script that can be copied and pasted into your html document.

The only promlem is...

... it doesn't work! Or at least, it didn't work for me.

It turns out that the fix is simple: copy the code into a text editor of your choice (my current favourite is Bluefish) and look for the element starting

id=id;js.src="//platform.twitter.com/widgets.js"

between the script tags. Insert http: between the " & // in the source reference - your code should now look like this:

id=id;js.src="http://platform.twitter.com/widgets.js"

I'm grateful to @fjmdesigns for the solution! Oh, my Twitter feed (if anyone is remotely interested) is @komphix

Sources & References:

No comments:

Post a Comment