Hello, I’m having some issues when trying to embed a tweet on android chrome browser, whereas on desktop works correctly. Seems like a problem with the promise returned by twttr.widgets.createTweet() that do not call the .then() method.
Related issue: https://twittercommunity.com/t/createtweet-returns-a-promise-on-chrome-52-doesnt-call-then-function/71766
Isolated code:
<!doctype html>
<html>
<body>
<script src="http://platform.twitter.com/widgets.js" charset="utf-8"></script>
<script>
var link = "463440424141459456",
elem = document.createElement('div');
console.log('this gets called');
twttr.widgets.createTweet(link, elem)
.then(function(div) {
console.log("this does not gets called");
});
</script>
</body>
</html>