Facebook Inc. has been able to retain a Teflon sheen on Wall Street with a succession of blowout quarters of advertising revenue.