Twitter was full of dramas at the exec and founder level, and that impacted their execution.
Facebook had strong leadership, was very focused, and executed well.