It’s a joke all right, and the joke’s name is Barack Hussein Obama.
"An embassy phone operator told CNN that the compound had been cleared of diplomatic personnel earlier in the day, ahead of the apparent threat, while Egyptian riot police and the army were called in."
So ... the U.S. Embassy in Cairo had prior knowledge.