I am so close to getting this done, my problem stems from the fact that when doing the authentication the URL from the app is coming back wrong.
For example, the app is
apps.facebook.com/testApplication123 then server is set to dev.domainname.com/facebook and is a module.
Now the URL that FaceBook in picking up is something like this