The woman identified as Laleh Shahravesh (55), a resident in Richmond, London.
According to the human rights group Detained in Dubai, Sharavesh was arrested at Dubai airport on March 10 after flying to the United Arab Emirates with her 14-year-old daughter Paris to attend the funeral of her former husband, who had died of a heart attack.
She discovered her ex-husband was remarrying when she saw photos of the couple on Facebook in 2016. Her daughter was allowed to fly home, but authorities seized Shahravesh's passport while her case progresses, reports the Evening Standard.
One of the offending comments, written in Farsi, said: "I hope you go under the ground you idiot. Damn you. You left me for this horse", she allegedly wrote.
Ms Shahravesh said: "I had no idea he was getting married again, and so soon after our own marriage broke down".
In UAE, defamatory statements on social media can attract fine or jail term.
Even though the two comments were written and posted in the U.K., Shahravesh could still be punished with two years behind bars or a fine of around $65,000.
How to Watch Valero Texas Open 2019 Online Without Cable
Kim Si-woo carded a three-under-par 69 on Saturday, while Jordan Spieth lost ground after a forgettable front nine. Hoffman has four PGA Tour wins, including the 2016 Texas Open.
Huntsville vigil planned for slain rapper Nipsey Hussle
Kodak Black angered the entire world when he was on Instagram Live and said he would be the best man he could be for Lauren . I just want to be able to offer my solutions instead of just grieving and celebrating a life".
United States to designate Iranian Revolutionary Guards as terror group, report says
Former Under-Secretary of State and lead Iran negotiator, Wendy Sherman, said she anxious about implications for USA forces. The new designation of the IRGC would allow the U.S.to act against companies and individuals who do business with the IRGC.
In comments released by the campaign group, Shahravesh acknowledged she "reacted badly" when she lashed out on Facebook.
"All of that is less important than being separated from my daughter, and that's all I want now, just to be back with her".
As of now, she has been bailed, but her passport has been confiscated and she's living in a hotel.
In the same statement, Ms Shahravesh said she is unable to leave Dubai and claims she is unable to defend herself in court.
Paris said: "I can not emphasise enough how scared I felt, especially after losing my father just a week before, as I was having to worry about losing my mother as well".
The Foreign Office said it was providing support to the family, the BBC has reported.
The Detained in Dubai group said Sharavesh's Portuguese husband of 18 years divorced her to marry a Tunisian woman in Dubai. And Stirling has accused the FCO of failing to adequately warn tourists about UAE's cyber laws, who have assured that they're supporting Ms Shahravesh and contacting UAE authorities regarding her case.
Radha Stirling, who is the Detained In Dubai chief executive and is also representing Ms Shahravesh, said the "experience is heartbreaking" for her client's family.