Facebook is buying Instagram, a popular mobile photo-sharing app, for $1 billion in cash and stock.

Mark Zuckerberg, Facebook's co-founder and CEO, made the announcement today on Facebook. The purchase comes as Facebook prepares for its initial public offering expected later this spring.

"For years, we've focused on building the best experience for sharing photos with your friends and family," wrote Zuckerberg. "Now, we'll be able to work even more closely with the Instagram team to also offer the best experiences for sharing beautiful mobile photos with people based on your interests.

"This is an important milestone for Facebook because it's the first time we've ever acquired a product and company with so many users," he added. "We don't plan on doing many more of these, if any at all."

The mobile app, which originally was only used on the iPhone, is now also available for Android devices.

Zuckerberg also made it clear that he wants Instagram to remain independent, noting that Instagram users will be able to continue posting their photos to other social networks, such as Twitter, and won't have to share their photos on Facebook.

Buying Instagram is a smart move for Facebook, according to Dan Olds, an analyst with The Gabriel Consulting Group.

"Instagram can potentially help Facebook in several ways," he added. "First, there are something like 10 million Instagram users out there - the vast majority of whom are using it to post to Facebook. Owning Instagram will allow Facebook to more tightly integrate its capabilities and functions into the fabric of Facebook."

Tighter integration with Facebook will also give the social network more information on what users are doing with Instagram. The deal will also ive Facebook the opportunity find ways to analyze and then monetize that data, Olds said.

"It could also give Facebook a building block they can use to put together their own Pinterest-type app, which is sort of a natural for Facebook, I think," he said.

Patrick Moorhead, an analyst with Moor Insights & Strategy, said Facebook will need to expand on what Instagram can do.

"This is a smart move for them as long as they integrate as a distinct brand and continue innovating," said Moorhead. "Otherwise, it will become a lifeless Flikr repeat."

Sharon Gaudin covers the Internet and Web 2.0, emerging technologies, and desktop and laptop chips for Computerworld. Follow Sharon on Twitter at @sgaudin or subscribe to Sharon's RSS feed. Her e-mail address is [email protected].

Read more about web 2.0 and web apps in Computerworld's Web 2.0 and Web Apps Topic Center.