Membership login with Facebook

I am trying to get the Ultimate Facebook plugin to work and make an app on Facebook. However, it is not taking my sub-domain as domain name at Facebook.
Want people to be able to login via Facebook at http://sub.domain.com/makeupgrammar/login/. The plugin works - I just need to know what to do at Facebook's end as they seem to want a top level domain.