How Nobel Laureate Milton Friedman's view of a firm's social obligation

How does Nobel Laureate Milton Friedman's view of a firm's social obligation tie in with shareholder capitalism? How does Friedman differ from Michael Porter's views?