If you dry fast, you can go for as long as you can endure.
If you water fast, I recommend you take electrolyte with your water for 24 hour plus fasts. Electrolyte is sodium chloride(Himalayan pink salt) and potassium chloride (no-salt). Nothing else is required, not sure if this is the supplement you are referring to.