Facebook revenue jumps 51.7 pct as mobile drives ad sales