To use Facebook Conntect authentication on your website, you need to register the site at http://www.facebook.com/developers/createapp.php. You need to have a Facebook account to get to the page, so if you don't have one yet, please create it here (you would be prompted to do so otherwise).
The following text describes the registration procedure and points out important information that you obtain during it. Please note that the design of the screenshots below may not be identical as Facebook changes its design quite often.
1. With a facebook account created and logged in, visit http://www.facebook.com/developers/createapp.php. Enter the following details into the form:
|•||Application Name: enter the name of your website, e.g. Kentico CMS - testing|
Read and Agree to the Facebook Terms and click Create Application.
2. Retype the CAPTCHA on and click Submit.
3. Your application will be registered and you will see the Basic tab of its editing interface. Here, you should focus on the two keys highlighted in the screenshot below, you will need to enter them in Site Manager -> Settings -> Facebook Connect:
|•||API Key - this is what you will enter into the API Key field|
|•||Secret - this is what you will enter into the Application secret field|
Note them down and set them accordingly in your Kentico CMS instance as described in the Settings chapter.
4. Now switch to the Connect tab. Here, you need to enter the URL of your website into the Connect URL field. Click Save Changes.
Using Facebook Connect authentication on localhost may result in incorrect behavior of the authentication. This behavior is by design of the Facebook Connect API. To achieve the required functionality, a standard domain name must be used and the domain name entered in this step must match the domain where your web application is really running.