Frothy droppings are commonly a sign of worms. Can you tell us about your worming program, the diet your bird gets, where he roams, etc?
If you worm, worm first with a mild wormer: Wazine 17% (piperazine 17%). Do not substitute the formula for dogs/cats. You'll worm as directed on the label for one day. Then withdraw all meat and egg use for two weeks.
During those two weeks, treat with probiotics. (Yogurt, acidophilus tablets from the grocer/pharmacy, or probios powder or fastrack powder from the feed store). Ask if you need more info on that.
Then after two weeks, either treat again with Wazine, or preferably use Ivermectin. I always use ivermectin for the second worming and twice a year thereafter. It's broad spectrum, but too broadspectrum and strong to use for the first worming.
If worms are causing the froth, it indicates a very STRONG load of worms. So you'll use the gentler wazine to kill most but not all of them. If all the worms died at once (like they would with ivermectin) it might kill the bird with shock.
In the mean time, tell us more about your bird so we can see if it's something other than worms, please.