Alan Brandt
Much of that "magic" happens in the social network's own massive data centers.
Since 2011, Facebook has built four centers in Oregon, Iowa, North Carolina, and Sweden with innovative, environmentally-conscious designs that it has made available to the public through its Open Compute Project.
In July, it began constructing a fifth in Fort Worth, Texas.
Take a peek inside those centers and see where all your Facebook data "lives."