Facebook has discovered that pushing ads aggressively on its users works well, even if people complain about the strategy. After Twitter goes public, it will face intense pressure to match Facebook’s phenomenal recent ad revenue growth. In the autumn of 2012, it seemed as though Facebook’s star-crossed IPO was going to ice Twitter’s plans to go public for years to come. Facebook’s share price plunged by 50% following its listing in May 2012. But over the past two months, Facebook’s strong Q2 ad revenue growth has driven investors wild — Facebook’s share price has rocketed from $22 to $45 since early July. This may well have lured Twitter into pulling the trigger on its own IPO plans now that sentiment surrounding the mobile ad market is so optimistic.

What’s interesting about Facebook’s average revenue per user (ARPU) growth is that it had stalled badly around the time the company went public, dipping to just 2% on an annualized basis in the spring of 2012. But by the spring of 2013, Facebook’s ARPU growth rate exploded to 25%. This was a combination of mobile usage growth and Facebook’s aggressive new ad strategies across all platforms. Most Facebook users know exactly how pushy Facebook ads have recently become — the news feed is now cluttered with messages from brands your friends have liked, many of them masquerading as genuine updates.

There has been much grumbling about Facebook’s aggressive ads, but the strategy has worked like a charm. New user growth has slowed down, but the company is now able to squeeze more and more ad dollars from the users it has. The big question is whether Twitter is now heading down the same path.

Companies that go public come under intense pressure to deliver strong earnings growth. Facebook and Twitter have very similar profiles; they will become each other’s benchmarks. Twitter investors will demand that the company match Facebook’s dazzling ARPU growth. That may well mean finding a way to expose Twitter users to a rapidly growing barrage of ads.