I'm not sure how I feel about digital commitment devices. On the one hand, I'd like to believe that if I really didn't want to open Facebook on my phone during work hours, I just wouldn't open it. On the other hand, I know from personal experience that it isn't always this easy.
AppCap is a tweak that allows you to set a limit on your usage on a distracting app, hopefully encouraging you to use it less...