✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚡️ Concerned about the grid? Kyle Baranko teaches how to predicting peak loads using XGBoost. Register for the August webinar!

Twitter Publish widget in a Dash app

Hi everyone,

I’m quite new to Dash and was wondering if someone has already done this before. I’m trying to embed a Twitter publish widget in my Dash app. Is there a way I can get the following code from HTML to the usual Plotly Dash’s syntax?

<a class="twitter-timeline" data-width="400" data-height="400" href="https://twitter.com/DavidLojkasek?ref_src=twsrc%5Etfw">Tweets by DavidLojkasek</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

Any help is appreciated!

Thank you!