How much is your house worth? Might be it cost you $100K, but if someone is willing to give you $1M for it because they want to build a supermarket there, then your house is worth $1M.
So if Snapchat is being offered $3B from Facebook because they think it would give them at least that much value, then Snapchat is worth $3B.