Fabric glue probably isn't the best bet for holding fabric down to foam; you may want to take a look at your bottle or test yours somehow to see if it's even viable. Hot glue has a fairly fast dry time and sticks to a variety of different surfaces, which look like they matter for those shoes. Rather than fabric glue, consider finding some other faster-drying alternative that's good for both of your materials -- otherwise you have to sit there holding the two surfaces together for a while, or figure out some way to clamp them, and neither sounds particularly fun.
(I've never made those shoes, so take this with a grain of salt, but I have had to glue things together at odd angles and adhered foam and fabric, so yeah.)
Therese von Ludowing (Sound Horizon's Märchen)Elsewhere: Journal ~ ACP ~ CosplayLab
Catelyn Stark (A Song of Ice and Fire / Game of Thrones)
Elisabeth - red ballgown (Elisabeth - Takarazuka version)
Thessaly (Sandman - The Kindly Ones)