Hello,
I have been facing an issue with the Tweet button (and follow button) script on my web app. I get the following error on page load and then the page keeps reloading infinitely.
[12:58:30.482] Error: https://platform.twitter.com/js/tfw/hub/client.js not loaded @ https://platform.twitter.com/widgets.js:1
My app uses iframe to embed my app into websites.
I have tried to remove https, and/or have only http. but nothing helps.
Script im using:
<script type="text/javascript">
window.twttr = (function (d,s,id) {
var t, js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return; js=d.createElement(s); js.id=id;
js.src="https://platform.twitter.com/widgets.js"; fjs.parentNode.insertBefore(js, fjs);
return window.twttr || (t = { _e: [], ready: function(f){ t._e.push(f) } });
}(document, "script", "twitter-wjs"));
</script>
</code>
Any help would be highly appreciated.
Thank You
Prerak Mehta