Some people tell you that you spend too much time on the internet or you phone, you are addicted and lonely, they suggest face-to-face interactions are going to make you happier in the long-term and suggest that it's better to hang out with your friends than with your phone.
Others say that interacting with people on Facebook is as healthy as in person. As long as you are cultivating friendship.
The truth is it all depends on how meaningful your interactions and the use of your time is.
You can spend some hours playing football with friends and honing your social skills or you can spend the same amount of time doing volunteer work over the internet. Which is more meaningful and will make you happier?
The main factor to consider is your motivation. If you ask yourself, how much would this action benefit beings and the world around me? You will know if its worth spending your time on it or not.
Do not spend your time in activities just for the pleasure they offer, since this will certainly transform into something else leaving you empty and miserable. For example using compulsively the internet just with the purpose of feeling less lonely, or gaining some intellectual or sensory pleasure will make you miserable in the long term, same as playing football with friends for the same purpose.
But using the internet to learn skills, share advice, generating awareness in society or any other activity oriented towards benefiting others will make you happy in the long term same as playing futbol with a lonely friend in order to help him feel supported.
Self centered motivation can bring you immediate gratification but it will always bring you misery in the long-term.
Focusing your attention on the needs of others and in the way you can help them be happier, will always bring you happiness in the long-term. But it has to be genuine, don't fake it.