Yes granulated foods, daphnia etc. are good. Your run the risk of 'bloat' if you feed too much flake/dried food.
Its useful to know which species you have bought, as there are two comonly encountered:
the african dwarf frog
and
the clawed toad
Differences in behaviour, companionability, and eventual size are quite wide.