Several migrants said they had been motivated by social media messages claiming that the Spanish border was open, though the origin of those messages remained unclear.

Migrants sat on a rocky stretch of beach in North Africa on Friday after swimming across the Moroccan border to enter the Spanish territory of Ceuta.