Using Wordpress as a Facebook Page

A few years ago, I remember a product that allowed a wordpress site to be run within facebook.

I've tried searching for something similar now, and have come across some wordpress hosted services that would do the job, offering fan gates, tabs, competitions, etc etc. - eg FanBoom Offers - But, on searching, it appears that it is just for one page, and it is on their site, with monthly fees

So, ideally, I was wondering if there is a plugin/theme/framework or combination that does similar, but is for running on my own sites.

Any advice welcome.

cheers
Mark