You might be able to embed the source in an iframe. Something like this..
<panel>
<title>MSFT365Status</title>
<html>
<iframe src="https://twitter.com/MSFT365Status" height="50" width="250" style="border:2;">
</iframe>
</html>
</panel>
You can achieve the same using API.
You can refer this link for API and example.
https://python-twitter.readthedocs.io/en/latest/installation.html
https://github.com/bear/python-twitter/tree/master/examples
And there is one app is also available in Splunkbase but I think it is not supported by Splunk. But you can check the functionality of that app.
https://splunkbase.splunk.com/app/1162/
KV