What happened

Shares of social network Twitter (NYSE:TWTR) surged higher on Friday, having risen about 10.7% as of 10:27 a.m. PDT.

The stock's gain follows the company's second-quarter earnings release, which included better-than-expected revenue and strong growth in daily active users.

A group of young people using their smartphones

Image source: Getty Images.

So what

Twitter's second-quarter revenue rose 18% year over year to $841 million, coming in ahead of analysts' average forecast of $830 million. It also was above the high end of management's guidance for revenue during the quarter to be between $770 million and $830 million.

Operating income for the period was $76 million, well ahead of management's guidance for operating income to be between $35 million and $70 million. 

Daily active users increased 14% year over year -- an acceleration compared to 11% growth in the first quarter of 2019.

Now what

For its third quarter, management guided for revenue to be between $815 million and $875 million. In addition, Twitter forecast operating income for the period to be between $45 million and $80 million.

For the full year, management said it expects GAAP (generally accepted accounting principles) operating expenses to rise 20% year over year "as we continue to invest for growth and support the top priorities we outlined at the beginning of the year: health, conversation, revenue product and sales, and platform."

This article represents the opinion of the writer, who may disagree with the “official” recommendation position of a Motley Fool premium advisory service. We’re motley! Questioning an investing thesis -- even one of our own -- helps us all think critically about investing and make decisions that help us become smarter, happier, and richer.