Worked is debatable - sure, it worked for them, but they made those platforms worse for consumers
Facebook succeeded because it made money, which is the primary objective of for-profit companies. The government (and people) represent the interests of the people, usually.