I couldn’t provide an example but I found the cause of the problem!
null comes from the following code by the timeout processing because the timeout value is only 400ms! It is too short!! Please give the long value enough (Probably it should be over 3 seconds).
https://platform.twitter.com/js/tweet.f370c308d0fc15068ffa28ad5e204dd3.js:formatted
function o(e) {
w.timeout(u(p.tweetBatch()), T).catch(function() {
return g.devError("Settings promise failed to resolve in batch_fetch_html"),
null
}).then(function(t) {
c(t, e)
})
}
function c(e, t) {
var n = m(t, r);
C.forIn(n, function(t, n) {
var r = t.split(k)
, o = r[0]
, c = r[1]
, d = i(o, c, n)
, u = f(a, null, n)
, l = f(s, null, n);
b.fetch(e, d, h).then(u, l)
})
}
function d() {
this.requestQueue = new l(o)
}
var u = n(227)
, l = n(40)
, h = n(228)
, f = n(15)
, p = n(78)
, m = n(44)
, b = n(136)
, v = n(138)
, g = n(10)
, w = n(34)
, C = n(12)
, E = "en"
, x = "light"
, k = ","
, T = 400;