What determines whether the app is online? What happens when the user is using the phone but FB is in the background? Does FB get some kind of update when the user is active on device? Or do OP's friend live in the FB app all day long?
I have no idea what the Facebook apps (Messenger and the Facebook app) do in the background.
It's easy to test that, but I didn't because #yoloswag