A glitch on Facebook caused visitors to some of the Web's biggest sites to be redirected away from their intended destination to an error message on Facebook.
The bug affected Facebook users who were visiting sites including CNN, Huffington Post, Washington Post and Gawker, according to published reports. When attempting to go to those sites, visitors would see them only briefly before being taken to a page on Facebook.
"An error occurred. Please try again later," read the message on Facebook, according to those reports.
The glitch affected sites using Facebook's login service, the company said in a statement. That service allows users to see what their Facebook friends are doing on other sites and to log into those sites without having to create a separate identification for them.
The problem lasted for only "a short period of time," Facebook said in its statement. "The issue was resolved quickly."
A company representative declined to say how long the glitch lasted or how many sites were affected by it. The representative did not respond to a request for more information about the glitch itself.
Web users who do not use Facebook or who were not logged into their account were not affected by the glitch, according to BuzzFeed.
Contact Troy Wolverton at 408-840-4285. Follow him at Twitter.com/troywolv.