Sorry your frog is having problems. When was the last time you saw it eat anything? There appears to be green spots covering the frog's back in the first picture. That could be sign of stress and/or infection. I agree with Michelle, you should consider taking it to a vet. Impaction can be prevented by feeding from a bowl, outside the tank, or by hand with tongs.