Social media companies under fire for spying allegations