When you build a game for to be played on Facebook.com, you're building a web app which will be served inside an iframe container on Facebook.com..