How to log out of Facebook, Messenger on another device remotely

One fine day, suddenly you remember that day you borrowed the phone of an acquaintance to login Facebook, Messenger, but forgot to log out. But don't worry, right now I will show you how to quickly log out of Facebook, Messenger on other devices remotely. Let's see!