You really shouldn't be pursuing interests with a teacher. If something like that were to get out they could lose their job. And that's not something that they are going to be happy about.
after and only after you have left the class/graduated you could always add him on facebook. Just make sure you're not giving the wrong idea.