Facebook's earnings jumped 34%, as nearly all users are accessing the social network on smartphones.