make sure you place the spawner on a grass platform, with a light source. it should work then. if it doesn't, message me again and i'll try to fix it for you
a chicken is not a hostile mobor make it dark in case of some hostile mobs
oka chicken is not a hostile mob