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?
niall
#2
Does your blockquote have fallback text and a link inside?
My blockquote looks like this:
.@fhollande est à
l'église Saint-Louis-des-Français à Rome
où est dressé un autel pour les victimes des attentats pic.twitter.com/6EmSeMU2ba
— Élysée (@Elysee) 17. augusta
2016
This code was generated and grabbed from twitter.
Dňa 25.08.2016 o 17:32 Niall napísal(a):
system
Closed
#4
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.