The popular Web site Twitter is now functioning after a cyber attack took the service offline for several hours .