Question: on instagram how do you know if someone is online?
Answer: You'll see a green dot next to their username and photo in your direct inbox and other places on Instagram.
In your direct inbox, you'll see their most recent activity status (example: Active 25m ago, Active yesterday, Seen, Typing...).