It all comes down to using applications for the intended purpose.
Social media presents great opportunity for connectivity amongst coworkers / education systems. I’d consider that a productive means to still get on Facebook!
Ultimately, it’s about self-control in that case.