Sheryl Sandberg, the No. 2 executive at Facebook, on Thursday thanked soldiers, military spouses and others at Fort Bragg for all of their sacrifices.