(Reuters) - Facebook Inc said revenue in the second quarter was $1.813 billion, compared to $1.184 billion in the year ago period.