At some point over the last few months, something seems to have changed in embedding tweets that has caused images not to display correctly. For example, this tweet:

https://twitter.com/artistmonet/status/1475708988989882369

When you choose “Embed Tweet” via the “More…” menu, you get this page:

https://publish.twitter.com/?query=https%3A%2F%2Ftwitter.com%2Fartistmonet%2Fstatus%2F1475708988989882369&widget=Tweet

Screenshot-20211230-01.38.26

You can see that the image is missing. This happens in both Chrome and Firefox.

The console shows several JavaScript errors:

embed.modules.66e311263622456867b1.js:42 TypeError: Cannot read properties of undefined (reading 'url')
 
embed.modules.66e311263622456867b1.js:5 TypeError: Cannot read properties of undefined (reading 'url')
 
content.js:45 Uncaught TypeError: Cannot read properties of undefined (reading 'currentSrc')

An embed of a very similar tweet like this:

https://twitter.com/artistBlanchard/status/1475708730222256132

[Sorry, I can only include 2 images in my post!]

Works correctly:

https://publish.twitter.com/?query=https%3A%2F%2Ftwitter.com%2FartistBlanchard%2Fstatus%2F1475708730222256132&widget=Tweet

[Sorry, I can only include 2 images in my post!]

Any idea why embed is not working correctly on these tweets? Or what may have changed relatively recently (this was not an issue a few months ago)?

Thanks!

JRB

Hey @jrbeaton! Thanks so much for your report. I can reproduce this too so we will look into this ASAP.

1 Like

It looks like this may be fixed now. I’m not seeing it any more.

Hey @jrbeaton, we shipped a fix yesterday. Glad to see it worked. Thanks again, for the report!

Thanks! And thanks for getting this fixed so quickly!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.