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.

Fresh book recommendations delivered straight to your inbox every Thursday.