In Egypt, homosexuality is highly stigmatised, and there have long been allegations that police are hunting LGBT people online. Now BBC News has seen evidence of how the authorities are using dating and social apps to do this, Ahmed Shihab-Eldin reports.
All victims' names have been changed
Having grown up in Egypt, I am aware of the pervasive homophobia that permeates every part of its society. But friends there tell me that the atmosphere has recently become far more brutal, and the tactics for tracking down LGBT people more sophisticated.
There is no explicit law against homosexuality in Egypt, but our investigation has found that the crime of "debauchery" - a sex work law - is being used to criminalise the LGBT community.
Transcripts submitted in police arrest reports show how officers are posing online to seek out - and in some cases allegedly fabricate evidence against - LGBT people looking for dates online.
They reveal how the police initiate text conversations with their targets.
Egypt is one of the most strategically important Western allies in the Middle East and receives billions of dollars in US and EU support every year. Around half a million British tourists visit the country annually and the UK trains Egyptian police forces, via the UN.
In one text conversation between an undercover police officer and someone using the social networking and dating app WhosHere, the officer appears to be pressuring the app user to meet up in person - that person was later arrested.
Police: Have you slept with men before?
App user: Yes
Police: How about we meet?
App user: But I live with mom and dad
Police: Come on dear, don't be shy, we can meet in public and then go to my flat.
There are more examples which are too explicit to publish.
It is extremely difficult for LGBT people to openly meet potential dates in public in Egypt, so dating apps are a popular way to do that. But just using the apps - regardless of your sexuality - can be grounds for arrest based on the incitement of debauchery or public morality laws in Egypt.
It is not just Egyptians who are being targeted. In one transcript, police describe identifying a foreigner, who we are calling Matt, on the popular gay dating app Grindr. A police informant then engaged Matt in conversation, and - the transcript says - Matt "admitted his perversion, his willingness to engage in debauchery for free, and sent pictures of himself and his body".
Matt told the BBC that he was subsequently arrested, charged with "debauchery", and eventually deported.
QUEER EGYPT UNDER ATTACK
LGBTQ people hunted by gangs and police in Egypt.
Watch now on BBC iPlayer (UK Only)
In some of the transcripts, the police appear to be trying to pressure people who seem to be simply seeking dates or new friendships into agreeing to sex for money. Legal experts in Egypt tell us that proving there has been an exchange of money, or an offer of one, can give the authorities the ammunition they need to take a case to court.
One such victim, whom we found through the transcripts, was a gay man we are calling Laith. In April 2018, the contemporary dancer was contacted from a friend's phone number.
"Hello, how are you?" the message said. The "friend" asked to meet for a drink.
But when Laith arrived to meet him, his friend was nowhere in sight. He was met instead by police who arrested him and threw him into a cell belonging to the vice squad.
One policeman stubbed a cigarette out on his arm, he told me, showing me the scar.
"It was the only time in my life that I tried to kill myself," Laith says.
He claims police then made a fake profile for him on the WhosHere app, and digitally altered his photos to make them look explicit. He says they then mocked up a conversation on the app which appeared to show him offering sex work.
He says the pictures are proof that he was framed, because the legs in the picture do not resemble his own - one of his legs is bigger than the other. The BBC has only had access to grainy photocopied police case files, so it cannot independently verify this detail.
Three other people told us the police forced or falsified confessions related to their cases, too.
Laith was jailed for three months for "habitual debauchery", reduced to a month on appeal. Laith says the police also tried to get him to inform on other gay people he knew of.
"[The policeman] said: 'I can fabricate a whole story about you if you don't give me names.'"
The Egyptian government has spoken publicly about its use of online surveillance to target what it described as "homosexual gatherings".
In 2020, Ahmed Taher, former assistant to the Minister of Interior for Internet Crimes and Human Trafficking, told the newspaper Ahl Masr: "We recruited police in the virtual world to uncover the masses of group sex parties, homosexual gatherings."
The UK Foreign Commonwealth and Development Office told the BBC that no UK funding has gone towards training for the Egyptian police in activities relevant to the claims made in the investigation.
UK MP Alicia Kearns, chair of the Foreign Affairs Committee, told the BBC that she wanted more to be done to warn LGBT travellers about the risks in countries such as Egypt, "where their sexuality might be weaponised against them".
"I would urge the Egyptian government to cease all activities which target individuals on the basis of their sexual orientation."
The Egyptian government did not respond to the BBC's request for comment.
The WhosHere app was referenced in nearly every police transcript the BBC has had access to.
Cyber privacy experts told us that WhosHere seems to have specific vulnerabilities, allowing hackers to scrape information about its users - such as location - on a large scale.
And they say the way WhosHere is collecting and storing data is likely in breach of privacy laws in the UK and the EU.
It was only after the BBC formally approached WhosHere that the app changed its settings, removing the "seeking same sex" selection, which could put people at risk of identification.
WhosHere disputes the BBC's findings about vulnerabilities and say that they have a robust history of addressing problems when raised. And that they do not operate any specific service for the LGBT community in Egypt.
Grindr, also used as an app by police and criminals to find LGBT people in Egypt said: "We work extensively with Egyptian LGBTQ activists, international human rights advocates, and safety-focused technologists to best serve our users in the region."
Criminal gangs are using the same tactics as the police to find LGBT people. They then attack and humiliate them, and extort them by threatening to post the videos online.

How we disguised contributors' identities
For the BBC documentary Queer Egypt Under Attack we used innovative face-tracking 3-D masking to ensure identities remained protected - the aim was to give the film a more attractive aesthetic than the usual blobbing technique of disguise allows.
I managed to track down two people we are calling Laila and Jamal, who were victims of a video that went viral in Egypt a few years ago. The footage shows them being forced to strip and dance, while being beaten and abused. They are forced at knife point to give their full names and admit they are gay. They told me the duo behind the video - named Bakar and Yehia - are notorious amongst the community.
We saw at least four videos in which Bakar and Yehia either appeared, or could be heard, extorting and abusing LGBT people before they uploaded the videos to Whatsapp, Youtube and Facebook. In one of these videos, an 18-year-old gay man we are calling Saeed is forced to, falsely, say he is a sex worker. I met him to hear about what happened next. He told me that he considered legal action but says his lawyer advised against this, telling him his sexuality would be perceived as more of a crime than the attack he suffered.
Saeed is now alienated from his family. He says they cut him off when the gang sent them the video in a bid to blackmail them too.
"I have been suffering from depression after what happened, with the videos circulating to all my friends in Egypt. I don't go out, and I don't have a phone.
"No-one used to know anything about me."
We've been told about dozens of attacks like this - carried out by multiple gangs. There are only a few reports of attackers being arrested.
It shocked me to learn, in the course of investigation that one gang leader, Yahia, is gay and actively posting online about his own sex work.
But perhaps it gives him a criminal edge - he knows just how vulnerable his targets are. And arguably his own position, as a gay man with little opportunity, fuels his criminality.
We have no evidence that Yahia has been involved in recent attacks, and he has denied involvement in any of the attacks.
Covering any of these issues inside Egypt itself has been banned since 2017, when the country's Supreme Council for Media Regulation imposed a media blackout on LGBT representation except if the coverage "acknowledge[s] the fact that their conduct is inappropriate".
LGBT community advocates, many of them in exile, are divided over whether the problems in Egypt should be highlighted in the media or tackled behind the scenes.
But Laila, Saeed, Jamal and Laith have chosen to step out of the shadows and break the silence.
Doodle Jump
(2023-02-01 08:59:42Z)LGBT community supporters, many of whom live in exile, disagree on whether Egypt's problems should be exposed in the media or addressed behind the scenes.
REPLYLnnvid
(2023-02-23 07:15:33Z)buy digoxin pills purchase lanoxin sale molnunat tablet
REPLYNcfadi
(2023-02-26 23:45:49Z)digoxin 250 mg sale order telmisartan generic oral molnunat 200 mg
REPLYSiwiga
(2023-03-01 03:19:49Z)cheap carvedilol 6.25mg order carvedilol sale amitriptyline tablet
REPLYHdtysk
(2023-03-01 03:50:03Z)buy amoxil 250mg generic buy amoxil 500mg pills ivermectin 9 mg
REPLYRzczbd
(2023-03-02 14:32:25Z)order dapoxetine 60mg online cheap purchase motilium pills motilium 10mg usa
REPLYZdxvdk
(2023-03-02 14:42:00Z)fosamax 35mg uk buy fosamax pill ibuprofen tablet
REPLYCcqihj
(2023-03-04 03:45:25Z)buy pamelor 25mg generic buy panadol 500mg online order paroxetine without prescription
REPLYVrkjga
(2023-03-04 04:47:47Z)oral indomethacin flomax 0.2mg brand oral cenforce 100mg
REPLYKxelbk
(2023-03-05 14:45:37Z)brand famotidine 40mg famotidine 40mg pill order remeron
REPLYPkukgl
(2023-03-05 17:25:50Z)doxycycline 200mg brand order chloroquine generic purchase medrol sale
REPLYKpcslh
(2023-03-07 02:19:53Z)buy ropinirole pill labetalol generic order generic trandate 100 mg
REPLYFjlzqd
(2023-03-07 19:36:42Z)buy tadacip 10mg sale buy amoxicillin generic purchase trimox sale
REPLYEhmytw
(2023-03-08 16:48:10Z)tricor sale sildenafil viagra buy generic viagra 50mg
REPLYYagsgx
(2023-03-09 07:11:44Z)order nexium 40mg online order furosemide 40mg generic cost lasix 40mg
REPLYJettum
(2023-03-10 06:27:33Z)tadalafil 10mg brand Real tadalafil for sale generic viagra
REPLYIflzwa
(2023-03-11 03:11:01Z)buy minocin without prescription order terazosin 5mg generic purchase terazosin pill
REPLYFvmwwa
(2023-03-12 02:43:20Z)order cialis 40mg without prescription buy ed meds online best ed medications
REPLYAelweb
(2023-03-12 23:22:27Z)cost glycomet purchase calan pills cheap nolvadex 10mg
REPLYCmljan
(2023-03-13 21:06:05Z)purchase provigil online stromectol for humans for sale buy promethazine 25mg pill
REPLYTtqlxl
(2023-03-14 20:25:05Z)buy clomiphene 50mg generic buy atorvastatin 80mg order prednisolone 10mg generic
REPLYBdcegw
(2023-03-15 14:42:29Z)prednisone 5mg uk purchase prednisone generic amoxicillin 1000mg cheap
REPLYNvkzee
(2023-03-16 16:54:39Z)buy accutane 10mg without prescription deltasone 5mg usa order ampicillin 250mg online
REPLYIfbfhm
(2023-03-17 16:51:00Z)buy sildenafil 50mg generic buy fildena online finasteride 5mg drug
REPLYRnaccw
(2023-03-18 18:55:11Z)ivermectin 2mg prednisone 20mg oral order deltasone 10mg pill
REPLYChceug
(2023-03-19 17:43:47Z)ondansetron 4mg price order ondansetron sale purchase bactrim online cheap
REPLYDgndyy
(2023-03-21 04:02:19Z)order generic isotretinoin order generic amoxil 250mg azithromycin generic
REPLYEwqpuj
(2023-03-21 18:00:31Z)order generic albuterol order ventolin online augmentin 375mg without prescription
REPLYVbfczl
(2023-03-23 14:53:38Z)cheap prednisolone without prescription order gabapentin 100mg pill order lasix 100mg pill
REPLYItbfeq
(2023-03-23 16:52:25Z)brand provigil 200mg purchase metoprolol online cheap lopressor 50mg cost
REPLYQtihko
(2023-03-25 16:16:04Z)avodart cost order orlistat online cheap orlistat 120mg generic
REPLYFrhuzu
(2023-03-26 01:41:59Z)purchase doxycycline online zovirax 800mg tablet buy acyclovir no prescription
REPLYMulhqn
(2023-03-27 14:57:02Z)buy generic azathioprine 50mg order azathioprine generic buy naproxen sale
REPLY