We have posted twitter tweet on a page, the widgets.js is imported, however I do not get rendered tweet, but it gets class twitter-tweet-error. It does not happens all the time, just first time.the page is loaded, later it is working ok.
The widgets.js snippet is here:
<script>window.twttr = (function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0],
t = window.twttr || {};
if (d.getElementById(id)) return t;
js = d.createElement(s);
js.id = id;
js.src = "https://platform.twitter.com/widgets.js";
fjs.parentNode.insertBefore(js, fjs);
t._e = [];
t.ready = function(f) {
t._e.push(f);
};
return t;
}(document, "script", "twitter-wjs"));
</script>
Twitter tweet is:
<blockquote class="twitter-tweet" data-lang="sk">
</blockquote>
Can you give me a hint what is wrong?