To refrain from going on facebook for a certain period of time. This often comes after the realization that too much time has been wasted on facebook resulting in real life problems. In the even of a relapse, an individual is said to pull a triple F (see Failed Facebook Fast).
John was spending all his time on facebook instead of working. He had to go facebook fasting for a few days to catch up on his work.