Facebook: Not such a bad year after all

Shares rise after results confound expectations; ad revenue increases by 30%.