The high court's ruling for the Menlo Park, California-based social media giant was unanimous.
The court case had to do with the Telephone Consumer Protection Act, a 1991 law that bars abusive telemarketing practices. The law restricts calls made using an “automatic telephone dialing system," a device that can “store or produce telephone numbers to be called, using a random or sequential number generator” and then call that number.
The question for the court was whether the law covers equipment that can store and dial telephone numbers even if the equipment does not use a random or sequential number generator.
Justice Sonia Sotomayor wrote for the court that it does not.
Facebook had argued the lawsuit should be dismissed because Duguid had not claimed Facebook was sending messages that were randomly generated. Facebook said it sends targeted, individualized texts to numbers linked to specific accounts. A trial court agreed, but an appeals court reversed that decision.
Facebook said it was possible Duguid's cellphone number previously belonged to a Facebook user who opted to receive login notifications.
The case is Facebook v. Duguid, 19-511.