Search code examples
javascriptwordpresstwitter

Twitter Timeline widget not working in Chrome


My Twitter Timeline widget won't load in Chrome, but loads in both Firefox and IE perfectly. When I check the console for Chrome, I get "Failed resource: http://platform.twitter.com/widgets.js" but when I click on that link, it works.

This is the code I am using:

<a class="twitter-timeline"  href="https://twitter.com/funnelholic"  data-widget-id="307229764530339840">Tweets by @funnelholic</a><script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

I have also whitelisted both www.funnelholic.com and funnelholic.com

The site in question is: http://funnelholic.com, this is a Wordpress site, and I am using the Text widget to display it.

How can I fix this?


Solution

  • Went home and tried it on a different computer in the same Chrome versions. Guess it somehow wasn't getting rid of cache...