Facebook Application Secret for multiple websites

Pit Digger picture Pit Digger · May 27, 2011 · Viewed 10.1k times · Source

I am having 25 websites and I am using Facebook Register plugin http://developers.facebook.com/docs/plugins/registration/ it needs a redirect url where the form is posted and to parse signed url a secret key. I need to use it on multiple websites . I see that in app I have to use Site url . Is there anyway to get it working on all sites with one application ?

Answer

Quentin picture Quentin · May 27, 2011

If the websites are on different domain name, then you have to create one Facebook application per website on the Facebook developer website.

This comes from the fact that, for security reasons, Facebook controls from where is coming the request : it has to match with the domain name you set in the settings of the app.

Hope that helps.