But it is also perfectly possible to achieve good perception, strong connections, lots of face time, and ability to handle office issues, while also being really bad at your actual job, and without any of the positives you mention (except for the fairly bland "easy to get along with").
The real problem, of course, is that what office politics optimize for is extraversion over performance, so anyone who's introverted (which a disproportionate number of programmers still are) is going to come in at a disadvantage.
And, um...if you're writing the code that's required of you, by the people who require it, and you're writing it well and in a timely fashion, it doesn't matter if you brag about it to everyone around, it's plenty useful to the company. I don't know where you've worked where the primary work you've done has been code that you've come up with on your own, which you've then had to "sell" to your own bosses and coworkers, but that's definitely not the norm.