More than 20 accounts were compromised by "state-sponsored actors" of unknown origin, according to email warnings sent by Twitter.
Recently, Facebook helped the State Department discover the activities of Iranian hackers that had compromised the email and social media accounts of government officials. This was a result of a new feature the social network added in October to alert Facebook users to state-sponsored attacks that may have targeted their accounts.