Exists something call moderation, it works both for online presence and for candies. Eating 300 kcals of candies in one day every day will not have a bad effect on you (if the rest of the diet is good), same as checking your Facebook account for 1 hour every day (in 5 minutes interval every 1-2 hours), I disabled every notification from Facebook et similar, and I check them only when I have nothing else to do, and I believe is having a good effect on me, I'm still present online but I'm not wasting all my time and mental energy there