One meaning of spin is "to present, describe, or interpret, or to introduce a bias or slant (sesgo) so as to give something a favorable or advantageous appearance". In other words, to deceive. A spin doctor is someone who spins (tergiversar) information, especially in politics.
In spanish it is sometimes referred to as vender humo. Watch the video in the media tab to learn more.