Shares of social media giant gain 3.4% to close at an all-time high of $308.91.