Those vials usually don't have much in them so get one to feed and one to use to start a culture (at least). Let the flies go in the tank and make sure they can't escape for a couple of hours so the frog can eat them - fruit flies can crawl straight up glass and out through vented lids.

Coconut fibre is used with tons of frogs by lots of people with no ill effects.