Social media platform records revenues of more than $990mn but losses also jump after recruiting thousands more staff