Shares of Twitter Inc. soared in Tuesday’s extended trade after the microblogging company reported robust quarterly results.

After Hours

Twitter TWTR, -0.62% said its second-quarter loss narrowed to $136.7million, or 21 cents a share, from a loss of $144.6 million, or 24 cents a share, a year ago. Excluding certain expenses, Twitter would have earned 7 cents a share, better than the 4 cents a share forecast by analysts. Revenue jumped 61% to $502.4 million. Shares of Twitter surged more than 10% at one point in after hours.