The hot photo-sharing app Instagram has been purchased by Facebook, the largest social network on the Internet, for $1 billion in cash and stock, the two companies announced on Monday.