For months, Facebook and Twitter investors shrugged off concerns about election meddling, regulatory scrutiny and an industry-wide privacy awakening. What mattered was these social networking firms kept getting more people to scroll past ads thereby making more money.