foam? some is better than none, Auralex is better than bed pads/egg crates. however, they're right, if you can afford it, wrap some 2" 703 (rigid fiberglass) in burlap or muslin and hang them instead.
if you have to use either screws or nails, use nails. if you're set on getting foam, why not...