VKontakte

Skip to end of metadata
Go to start of metadata

This page is a step-by-step guide for the process of opening and setting up an external application in VKontakte as part of the Gigya Setup process.

Note: If your site is defined under one of Gigya's non-US data centers, replace domain references to (http:// or https://) "socialize.gigya.com" (or "socialize.us1.gigya.com") with https://socialize.<data_center>/

Where <Data_Center> is:
  • us1.gigya.com - For the US data center.
  • eu1.gigya.com - For the European data center.
  • au1.gigya.com - For the Australian data center.
  • ru1.gigya.com - For the Russian data center.
  • cn1.gigya-api.cn - For the Chinese data center.

If you are not sure of your site's data center, see Finding Your Data Center.

Domain references are defined in Gigya's dashboard, externally in social network app definition pages, and when using Gigya's SDKs to set the domain (in particular the APIDomain field in class GSRequest). 

When using any 3rd Party Apps with Gigya, it is important to ensure that you Enable retrieving user contacts from the Permissions page of the Console prior to making your app live. This enables basic username and email retrieval for your users from providers that don't consider this an elevated permission.

 

Phase 1 - Opening an External Application in VKontakte

  1. Log into your VK account and click on the following URL: https://vk.com/dev.
  2. Click on My Applications.

  3. Click on Create Application.


     
  • Fill in your: Applications Title, the Type of application it is (web-site), your site's address and base domain (as presented in the following screenshot). The Category/Type must be 'Web-site'.


     
  1. Press the Connect Site button.
  2. You will be requested to enter confirmation information such as a mobile confirmation code sent to the phone associated with your account.

  3. Next, enter the Information tab of the app and configure it's settings. You will need to set the status to Application is Active and can be viewed. Ensure that Open API is Included. In the Open API section fill in your Website Address. Select a Catagory/Theme. Enter your Basic Domains - these will be your site's domain and, if using Gigya servers (not a CName), you need to include socialize.gigya.com or if you are using a non-US datacenter, the URI must also include the datacenter, socialize.eu1.gigya.com . Finally, enter your Authorized Redirect URIs. If not using a CName enter https://socialize.gigya.com/GS/GSLogin.aspx , and if you are using a non-US datacenter, the URI must also include the datacenter, e.g., https://socialize.eu1.gigya.com/GS/GSLogin.aspx .
     
  4. You will need the Application ID and Secure code listed at the top of this page for the Gigya Provider Configurations page in Phase 2.


  5. Click the Save Configuration button.

  6. Proceed to Phase 2, below.

Phase 2 - Configuring VKontakte's Application Keys in Gigya's Website

  1. 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.
  2. Press the 'Site Settings' button that corresponds to the domain you wish to configure. You will be redirected to the 'Site Settings' page.  
  3. Select 'Providers Configurations' in the Site Settings page.
  4. On the "Providers Configurations" page select VKontakte.
  5. Paste the application ID from phase 1 in the 'API Key' field and the secure key from phase 1 in the 'Secret Key' field.
    Click the 'OK' button and then the 'Save Settings' button (located at the lower right-hand corner of the page).

 

That's it, VKontakte's configuration is complete!  Please note that it might take up to 10 minutes for our system to become synchronized with VKontakte.