I had copied and pasted the twitter widget info on my website, and it was working correctly until about 2 weeks ago.
This is the code that I copied from the widget generator:
<a class="twitter-timeline" href="https://twitter.com/compedallers" data-widget-id="519157904369123328">Tweets by @compedallers</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>
Already has the ID, the http/https that people previously found as solutions. I’m working on drupal to build my site and the widget doesn’t populate on Chrome, Firefox or Safari.
Any help would be appreciated.
niall
#2
Do you see a link but not a fully-rendered widget? It’s possible your CMS is stripping the script block.
I just have the “Tweets” by @compedallers", nothing else. What can I do if it is stripping the script?
niall
#4
You can add the Twitter widgets.js to your site theme to load on every page if your CMS is stripping the script element.