Question: how to get notification when someone is online in facebook?
Answer: Click the gear menu at the bottom right on the chat sidebar. Click Turn On Active Status or Turn Off Active Status. Select an option and click Okay.