WhatsApp, a popular messaging service owned by Facebook Inc, suffered a widespread global outage last night that lasted for several hours before being resolved, the company said.

"Earlier today, WhatsApp users in all parts of the world were unable to access WhatsApp for a few hours. We have now fixed the issue and apologize for the inconvenience," WhatsApp said.

WhatsApp was down in parts of India, Canada, the United States and Brazil, according to Reuters journalists. It affected people who use the service on Apple Inc's iOS operating system, Alphabet Inc's Android and Microsoft Corp's Windows mobile OS.

In Brazil, where the professional class relies heavily on the messaging service, WhatsApp was down for about two and a half hours. Many users switched to rival system Telegram, which has picked up millions of customers in Brazil after two previous WhatsApp outages resulting from court orders.

WhatsApp's is used by more than 1.2 billion people around the world and is a key tool for communications and commerce in many countries. The service was acquired by Facebook in 2014 for $19 billion.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.