handle facebook query