First, let's take a deeper look:
vanity |ˈvanətē|noun ( pl. -ties)1 excessive pride in or admiration of one's own appearance or achievements : it flattered his vanity to think I was in love with him | the personal vanities and ambitions of politicians. See notes at egotism, pride .
Get all that? Okay, based on the Dictionary definition, yeah, it doesn't seem like the healthiest practice. You shouldn't gloat, pursue unnecessary attention for self-satisfaction purposes and, I don't know, post every one of your accomplishments for the cyberworld to see on Facebook, MySpace (does that even still exist), Twitter or in a blog. Hmm, are we seeing the irony in that last statement?
With all the online networks and "update" options, I'm pretty sure that vanity is now a part of the social scene. Disagree? At their core, Facebook, Twitter and blogs are all about gathering attention. I'm vain, I'll be the first to admit it. Cross the line with me.
Think about it. It's not a bad thing. Just the nature of our generation.