Facebook may be used by migrants to plot an emergency landing for their plane so that they can illegally enter Spain.

After one of the passengers claimed to be suffering from diabetes, their flight was diverted to Mallorca.

After the Air Arabia Maroc plane was off the runway, the pilot and his friend were taken to the hospital.

However, 22 people were able to flee the chaotic scene.

Spain’s EFE national news agency reported yesterday that officers were looking into whether an emergency landing was organized on Facebook.

According to the outlet, it was able to access a Brooklyn group created by young Moroccans. It contained plans that were similar to Friday’s.

Aina Calvo (centre), Spanish central government delegate in Balearic Islands, talks to media in Palma de Mallorca, Majorca island, Spain after 12 fugitive passengers were arrested

After 12 escapees were detained, Aina Calvo (centre), a Spanish central government delegate to Balearic Islands talks with media at Palma de Mallorca island, Majorca, Spain.

Spanish security forces and search some other travelers who ran away from an Air Arabia's plane, on route from Casablanca, Morocco, to Istanbul

Spanish security forces and search some other travelers who ran away from an Air Arabia’s plane, on route from Casablanca, Morocco, to Istanbul

Planes are seen at Palma de Mallorca airport as a search of the runways is underway for a group of passengers who fled from an international flight after a medical emergency landing between Morocco and Turkey in Palma, Balearics

A search is being made at Palma de Mallorca Airport for passengers fleeing an international flight following a medical emergency landing in Turkey and Morocco.

According to One, the July post said that all Brooklyn men should fly on a plane from Turkey to Spain. One also mentioned someone pretending to be sick.

Video footage from Friday’s drama shows passengers pushing past the staff as they exit the plane.

Police arrested twelve people, charged them with “facilitating illegal migration”, including the nine escaped passengers, one who was involved in a fight with the official, and the companion of the sick passenger.

Dozens of men were pictured sprinting from the Air Arabic Maroc Airbus on the runway at Majorca's Palma airport on Friday night

Dozens upon dozens of men could be seen sprinting off the Air Arabic Maroc Airbus at Majorca’s Palma airport Friday night

The National Police and the Civil Guard, Spain's two national police forces, are involved in the hunt for the runaways (pictured) and are believed to be getting assistance from local town-hall employed police forces across the island

Two Spanish national police force, The National Police (pictured), are currently involved in the search for runaways. Local police units from towns are likely to assist them.

The investigation continues, and the escapees are still in hiding. The only exception is one, who is described to be Palestinian.

The flight from Casablanca to Istanbul was originally scheduled.

Aina Calvo from the Spanish Embassy in the Balearic Islands stated that such events had never occurred before.

“All options remain on the table.”

She added that none of the passengers had claimed asylum.

Late Saturday night, details of Friday’s bold ruse that shut down one of the busiest airports in the country for over four hours emerged.

The man accused of feigning a diabetic coma told medics he was fine when he got to the island's Son Llatzer hospital (pictured: members of the civil guard on the runway where the escape took place)

Man accused of lying to medics that he had a diabetic episode told them he was in a good mood when he reached Son Llatzer Hospital on the island. (pictured: Civil Guard members at the runway, where the escape occurred).

Officials were forced to divert 60 domestic and international flights due to the chaos caused by this incident.

Two Spanish police agencies, the National Police (Spanish) and the Civil Guard (Spanish), are part of the manhunt.

Jorge Campos (a local MP from the hard right-wing Vox party) attacked Spain’s government and accused Madrid of being weak on illegal immigration.

He stated, “We are defenceless.” It’s an embarrassment.

Footage of Friday night's drama showed the passengers appearing to push past medical and airline staff at a plane exit door after a brief struggle

After a short struggle, the passengers appeared to push through airline and medical staff at an exit door.

Majorca has been a popular destination for people-smugglers. They help illegal migrants from Africa to get to Majorca via boat.

Asylum seekers from Morocco also attempt to reach Europe using the treacherous 10-mile crossing of Gibraltar to their home country. They use speedboats, jet skis, and rubber dinghies to make this dangerous journey.

Police arrested a Moroccan pensioner in December 2017 after he tried to transport a 12-year old African boy from Morocco into Spain via his car’s dashboard.