Found in 1 comment on Hacker News
Read Crystalizing Public Opinion by Edward Bernays, father of public relations, to understand the origins of this practice. As thundergolfer mentioned, Manufacturing Consent is also a great read, though not as directly related.

https://www.amazon.com/Crystallizing-Public-Opinion-Edward-B...

Fresh book recommendations delivered straight to your inbox every Thursday.