Twitter is not just a social networking company, it is also a data collecting platform.

Ali Rowghani, the former chief operating officer of Twitter, said that in the beginning, data was "the original revenue stream" for Twitter. He explained to CNBC's "Squawk Alley" that Twitter first did business with big search engines.