NEW YORK (AP) — A spam attack on Twitter shows why it’s wise to use different passwords for Internet accounts.

Twitter said Monday that hackers broke into an unspecified number of accounts and sent spam promoting acai berry drinks. Twitter says the passwords came from an earlier breach at New York-based Gawker Media, which runs Gawker, Gizmodo and other technology and media sites. People who used the same passwords for both sites were vulnerable.

READ MORE: Westchester Police Departments Travel To Harlem In Tribute To Fallen NYPD Officer Jason Rivera

Twitter says it doesn’t know how many of its 175 million users were affected. It says it proactively reset passwords it suspects were compromised. Twitter says only a small number of accounts were affected.

READ MORE: NYPD Officer Wilbert Mora Still In Critical Condition Following Deadly Shooting In Harlem

Attacks on social networking sites such as Twitter and Facebook are popular because people are more inclined to click on links appearing from friends, rather than e-mail spam.

MORE NEWS: Lashawn McNeil, Suspect In Deadly Harlem Police Shooting, Was On Probation, Had 5 Prior Arrests

(Copyright 2010 by The Associated Press. All Rights Reserved.)