Question: are you online on messenger when on facebook?
Answer: Yes, Facebook app will show you online too because Facebook and Messenger both are used for same website. Facebook is used to show everything that Facebook web app which means that you are online but the Messenger is used to chat with the friends. This means that you will be online while using any one of the app.