FILE PHOTO: A 3D-printed Facebook logo are seen in front of displayed binary digits in this illustration taken, March 18, 2018. REUTERS/Dado Ruvic/Illustration/File Photo

SAN FRANCISCO (Reuters) - Three users of the Facebook Messenger app sued Facebook FB.O on Tuesday, saying the social network violated their privacy by collecting logs of their phone calls and text messages, in the latest legal challenge facing the company.

The U.S. lawsuit filed in federal court in the Northern District of California seeks status as a class action on behalf of all affected users and asks for unspecified damages.

A Facebook representative could not immediately be reached for comment.

Facebook, which is reeling from a scandal over its handling of personal data, on Sunday acknowledged that it had been logging some users’ call and text history but said it had done so only when users of the Android operating system had opted in.

Facebook said on Sunday that it does not collect the content of calls or text messages, and that information is securely stored. The data is not sold to third parties, it said.

Android is owned by Alphabet Inc's Google GOOGL.O, which is not named as a defendant in the suit.