Facebook is a major contributor to Open Source Software. They open source nearly all useful technologies that go in their product across platforms like iOS, Android, Web, Backend and hardware technologies.
Going by the GitHub Page of Facebook, they heavily uses C++, Java, JavaScript, Python and Objective-C.
You can see more here - code.facebook.com/projects
Someone from Facebook can contribute better to the answer.