When Skinny had his problems my old vet had me give him Kaopectate. I chose the childrens (cherry). I was to give him 1/2 tsp 3/4x a day if memory serves me correctly for 5 days.
I spoke with pharmacist and was assured because of low doses and limited days it was safe.

Our new vet was in agreement it was ok for limited use and dose we had given. Since it didn't work we didnt use it again when going with new vet.

My advise, talk with your vets.