This page is a step-by-step guide for the process of opening and setting up an external application in Facebook as part of the Gigya Setup process.
Phase 1 - Opening the Application in Facebook
Optional: If you are planning on configuring a domain alias (CNAME), please replace 'socialize.gigya.com' with your alias sub domain (CNAME value). i.e. http://[YOUR-ALIAS-SUB-DOMAIN].yoursite.com.
- Login to your Facebook account.
- Install the developer's application: http://www.facebook.com/developers/?ref=sb.
- Click on "Create New App" at the top of the page.

- Enter your application name.
- Enter a name in the "App Namespace" field (7 chars minimum, numbers are not allowed).
- Enter the Captcha and press 'Submit'.
- Copy the "App ID" and the "App Secret" strings (you will need to paste them in Gigya's website, as described in phase 2).
- Click on "Website with Facebook Login"
- Paste the following URL in the 'Site URL' field: http://socialize.gigya.com/gs/
- When hovering over the image next to your application's name, an "edit button" appears. Click it.
- In the "Primary Icons" section, load your 16x16 pixels or 75x75 pixels icon.
- Save changes.
- Click on the 'Advanced' tab (located under 'Settings' on the left-hand side menu).
- Paste the following URL in the 'Deauthorize Callback URL' field: http://socialize.gigya.com/deauthorize?provider=facebook&apiKey=<client API key>, where <client API key> is your API key. See note regarding CNAMEs at the top of this page.
- Save changes.
- Under "App Details", scroll down to "Contact Info", fill in the Privacy Policy URL and the Terms of Service URL and save changes:

Optional - for Advanced Users Only
- If you would like to redirect users to other servers (i.e. for geographic distribution of load) and enable auth on the domain and subdomain, please add your subdomains in the 'App Domain' field.

- If you are planning on using the Facebook External Application Canvas Page you should change a few of your application settings:
- On the 'Basic' tab, paste the following URL in the 'Canvas URL' field: http://socialize.gigya.com/GS/GSLogin.aspx ?appId=<appid>
Please note: <appid> should be replaced with your application ID located above the field.
Optional: If you are planning on configuring a domain alias (CNAME), please replace 'socialize.gigya.com' with your alias sub domain (CNAME value). i.e. http://[YOUR-ALIAS-SUB-DOMAIN]/GS/GSLogin.aspx?appId=<appid> - Paste the following on 'Secure Canvas URL': https://socialize.gigya.com/GS/GSLogin.aspx?appId=<appid>
Please note: <appid> should be replaced with your application ID located above the field.
Optional: If you are planning on configuring a domain alias (CNAME), please replace 'socialize.gigya.com' with your alias sub domain (CNAME value). i.e. https://[YOUR-ALIAS-SUB-DOMAIN]/GS/GSLogin.aspx?appId=<appid>

Phase 2 - Configuring Facebook's Application Keys in Gigya's Website
- Go to the Dashboard section of Gigya's website.
Note: If you are not signed in to Gigya, please go to http://www.gigya.com/ and sign in. - Press the "Site Settings" button that corresponds to the domain you wish to configure. You will be redirected to the "Site Settings" page.
- Paste your keys (the "Secret Key" and the "Application Id" from the end of phase 1) in the corresponding places:

- Click the "Save Settings" button (located at the lower right-hand corner of the page).
That's it, Facebook configuration is complete! Please note that it might take up to 10 minutes for our system to become synchronized with Facebook.
Note: to learn how to localize your Facebook application to different languages, please refer to http://developers.facebook.<wbr/>com/docs/internationalization/.




Comments