Applying two-factor authentication to Facebook is a useful way to protect it from being hacked – here’s how to set it up.