Twitter embed show text before rednering

I use an API call to show a tweet when someone pastes a Twitter link.
But, there’s a short moment when the page loads where the tweet appears as plain text before it switches to the nice, fully formatted display.

Before the tweet renders


After

This topic was automatically closed after 70 days. New replies are no longer allowed.