Or setting your user agent to Googlebot/2.1 for Twitter should work as well[1].
[1]: https://raw.githubusercontent.com/tats/w3m/master/doc/README...