Registering your application

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  

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.

 

devguide_clip0987

 

2. Retype the CAPTCHA on and click Submit.

 

devguide_clip0988

 

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.

 

devguide_clip0989

 

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.

 

 

 

Please note!

 

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.

 

 

devguide_clip0992

 

Your web application is now registered at Facebook. With proper settings and web parts, users should now be able to authenticate to your site using their Facebook logon details.

 

Page url: http://devnet.kentico.com/docs/devguide/index.html?fbconnect_registering_your_application.htm