When I'm depressed and completely out of energy , I try and find something low effort just to shut out the negativity.
Most of the time that's scrolling through the newsfeed or aimlessly browsing porn. If Facebook didn't exist I might find something else. Facebook is the goto place to zone yourself out.
It's only a problem when life is so barren that likes on your FB post become the highlight of your day. As long as you have healthy relationships and meaningful activities it will never become a problem.
Through years of A/B testing they've trained us like rats to scroll through the newsfeed. Sometimes I'll find myself or someone else simply scrolling aimlessly , not even knowing why , just a tired brain looking for the next dopamine hit. Finally, I installed an extension that removes the newsfeed on my work computer and there's already a big improvement. I never thought such a stupid hack could make a difference , since I could always override it.
But turns out that your brain is lazy and stupid , which you can use to your advantage by making wasteful activities just a wee bit more difficult. Making new habits is easiest when you rearrange your environment.
Want to become fit. Try moving into an apartment with a cross fit freak and watch yourself change automatically.
Want to become a better developer. Get a better job on a team that uses best practices and watch yourself strive to keep up.
Ofcourse , out of all of this self improvement thinking comes the sort of existential angst that is caused by browsing FB,HN and Reddit and seeing how your life is just 1 % of what it could be and what your friends are having. This I think is separate and isn't restricted to Facebook. This has always and will continue to exist.
So yeah sometimes you just can't win :D .
These days everytime I feel depressed I have some chocolate. And also go for a vigorous walk. It sort of works but not nearly as well as it should ;) .