Facebook used to be a way to share photos of friends or puppies. Now it’s a news publisher, a broadcaster and a marketplace.

To get an inside view of the company and how it balances these roles, The Wall Street Journal’s Christina Passariello spoke with Facebook’s chief product officer, Chris Cox, and chief operating officer, Sheryl Sandberg. Here are edited excerpts of the conversation.

Balancing act

MS....