Well, Facebook is PHP so...
Backend services in languages other than Hack do exist, of course. When I left Meta (then called Facebook) in 2019, they were almost exclusively in C++. Now I don’t know for sure but I think Rust is gaining a lot of popularity for non-Hack stuff.
I’m not sure what you mean about the GraphQL question. Meta doesn’t use Node at all, or at least not to any significant extent.