The apps shut off for roughly nine hours, prompting a surge in usage for apps like Twitter and Snapchat.