Reverse engineered ui_mentrics and ported it to golang for my blog: https://antibot.blog/twitter-ui_mentrics