um, tell ur friend to watch his crab more closely. he's getting air somehow (climbing the filter tube, air tubing, plants). from experience the temp doesn't matter as much as air, calcium, and salt to a brackish level.
in the wild these are beach dwelling animals, pet stores are amiss selling them in complete aquarium setups. the best thing i could do for the one i had bought was get plastic plant netting along the back wall so he could climb out of the water easier. mine had actually taken to stradling the wall of the filter for long periods of time until i got him the plant wall.

here's a pic i took on my honeymoon durring an airboat tour. it's a colony of fidler crabs gathering food at the waters edge.

they need air.