Prior to antibiotics and penicillin, lesser methods were used to treat a raft of ailments–including, um, finger snapping. From an article about the fad in the December 19, 1896 Brooklyn Daily Eagle:
“A friend who was born in Central Illinois asked me the other day whether I have ever heard of the snapping craze that raged in the back country districts in his part of the state some thirty odd years ago. I have inhabited this planet for a little over half a century and have always been interested in popular delusions, but I had never before heard of the snappers. My friend said that a snapping doctor, who came from nobody knew where, started a curious movement by lectures in rural schoolhouses and churches. His theory was that all diseases could be thrown off by bringing the body up to a condition of high nervous tension by a peculiar method of snapping the fingers, which he had discovered and which he alone was competent to teach. He had big, muscular fingers, and he snapped them with a sound like the crack of a black snake whip. He soon got his audiences to work snapping and made them believe that they were experiencing marked benefits from the performance. For complete instruction in the art, however, he charged $50.
The craze had a run of a few months, and while it raged the school children snapped their fingers at recess time, and in the farmhouses men and women gathered evenings to practice the marvelous new healing art.”