Twitter and Facebook

Twitter and Facebook

Chris Ratcliffe/Bloomberg

Two years ago Facebook Inc. and San Francisco-based Twitter Inc. were venture-backed social-networking companies trying to prove there was money to be made in online chats.