Definitely social networking and productivity algorithms don't go hand in hand...
Algorithms know what your brain wants and use it to imprison you in something that has no future and how that momentary pleasure brings the brain a feeling of dopamine, however, too much dopamine generates depression and the desire to do nothing, it's something similar to what happens to a junkie.
Everything in life is a matter of choice, and allowing yourself to experience that feeling of momentary pleasure in the long run only brings you pain and suffering, because that pleasure of the moment has a beginning and an end as well.
Discipline ensures that you do what needs to be done... in which case maintaining discipline will make you trade the pleasure of the moment for the pleasure of the future.
After all, the secret of the discipline is to run away from the algorithm.
There is a however...
For example: If you say I won't eat candy, but put a tray of candy by your side, however disciplined you may be, you will end up falling into the temptation of eating candy.