Facebook grows revenue more than 30 percent in Q3, but also posts loss