Twitter said Friday it was hammered by a "sophisticated" cyber attack similar to those that recently hit major Western news outlets, and that the passwords of about 250,000 users were stolen.
"This attack was not the work of amateurs, and we do not believe it was an isolated incident," Twitter information security director Bob Lord said in a blog post.
Lord referred to an "uptick in large-scale security attacks aimed at US technology and media companies" as he told of Twitter detecting attempts this week to get unauthorized access to data in the firm's network.
The attack coincided with the revelation of several high-profile security breaches. The New York Times and The Wall Street Journal said this week that they had been hacked, and pointed to attackers from China.
Twitter did not confirm the source of the intrusion.
But Lord noted that "the attackers were extremely sophisticated, and we believe other companies and organizations have also been recently similarly attacked."
He said that Twitter shut down a live attack as it was in process.
But cyber attackers may have gotten usernames, email addresses, passwords and other data.
As a precaution, Twitter invalidated passwords of accounts at issue and sent people email messages telling them to create new passwords.
Twitter announced in December that the number of active users of the service had topped 200 million, in a sign of soaring growth.
The one-to-many messaging platform is a popular tool used by people around the world to share thoughts, views and news in real time, typically from mobile phones and sometimes in the heart of protests or upheaval.
It was unknown whether the cyberattack on San Francisco-based Twitter was related to high-powered hacker assaults on the Times and the Journal.
The recent series of brazen cyberattacks on America's most high-profile media outlets has revived concerns over Chinese hackers, who analysts say are likely linked to the secretive Beijing government.
The Times and the Journal reported that their computer networks had been compromised, alleging it was an effort by the Chinese government to spy on news media operating in the country.
US Secretary of State Hillary Clinton said Thursday that there has been an increase in hacking attacks on both state institutions and private companies.
"The breach at Twitter is yet another wake up call -- have we had enough yet?" said Mike Lloyd, chief technology officer at security firm RedSeal Networks.
"Attackers are clearly a step ahead of most defenders -- it's a war between corporations and data thieves, and we're losing."