Twitter still uses Ruby on Rails to generate the website, as always. Their use of Scala is on the backend; the services that lay behind the Rails app. Facebook uses a similar architecture behind their PHP code, using many other languages, including Java.