So were the soldiers. They paid taxes, so they were funding the donuts via the US government.
But that's not the point. The soldiers perceived the donuts as free, and people perceive Facebook as free. Charging for donuts or access to your wall will change that perception.
Are these services really free? We may not pay cash to use these services but we certainly are paying something.