Facebook says it has successfully tested a computer program that can help keep users from taking their own lives.
The social media network now says it will expand the use of the pattern recognition software to other countries.
Facebook began testing the software in the United States in March. The software is considered an example of artificial intelligence.
The software scans messages on Facebook for comments that could be signs that a person intends to harm themselves.
Facebook has not released any of the technical details about the program. But, the company did say that it looks for phrases such as "Are you ok?" and "Can I help?"
If the software finds the signs it is looking for, it alerts a team of Facebook workers who specialize in dealing with such reports.
The system suggests resources to the user or to friends of the person such as a telephone help line. Facebook workers sometimes call local officials to take action.
Guy Rosen is Facebook's vice president for product management. He posted a description of the program on the Facebook website. He said the company was expanding use of the software because the tests were successful.