Shares of Facebook (FB) - Get Report  rose Wednesday after the social media giant posted solid first-quarter results.     

The stock was up 4.89% to $191.50 a share in after-hours trading, after having fallen 0.65% in regular hours. 

The company reported adjusted earnings per share of $1.89 versus Wall Street estimates of $1.62, excluding the impact of a $3 billion charge related to its legal disputes with the Federal Trade Commission. 

Revenue was $15.08 billion, beating analyst's expectations of $14.97 billion.

In the same period a year ago the company posted earnings of $1.69 a share on sales of $12 billion.

Daily active users (DAU) rose 8% year-over-year to 1.56 billion, in line with what Wall Street was looking for. 

"We had a good quarter and our business and community continue to grow," said Mark Zuckerberg, Facebook founder and CEO. "We are focused on building out our privacy-focused vision for the future of social networking, and working collaboratively to address important issues around the internet."

The company did not immediately address guidance for the rest of the year.

The stock is up 35% year-to-date.