It is not clear if the attacks on the Web sites are related , but Twitter and Facebook officials say they are working with online search engine Google to investigate .