anchor.diff:    <artifactId>spring-social-web</artifactId>
     <version>{spring-social-version}</version>
   </dependency>
  +...
  +<repositories>
  +  <repository>
  +    <id>snapshot</id>
  +    <name>Fugru Maven Snapshot Repository</name>
  +    <url>http://fugru.com/archiva/repository/snapshots</url>
  +    <releases><enabled>false</enabled></releases>
  +    <snapshots><enabled>true</enabled></snapshots>
  +  </repository>
  +</repositories>
   ----
   
  -Note that Spring Social LinkedIn may release on a different schedule
  +Note that Spring Social VKontakte may release on a different schedule
   than Spring Social. Consequently, Spring Social's version may differ
  -from that of Spring Social LinkedIn.
  +from that of Spring Social VKontakte.
   
   Consult
   http://docs.spring.io/spring-social/docs/1.0.x/reference/html/overview.html#overview-howtoget[Spring
  
positive.code: Refer to
  http://docs.spring.io/spring-social/site/docs/1.1.0.RC1/reference/htmlsingle/index.html#connecting[Spring Social's reference documentation] for complete details on configuring `ConnectController` and its dependencies.
  
  == LinkedIn API Binding
  Spring Social LinkedIn offers integration with LinkedIn's REST API with the `LinkedIn` interface and its implementation, `LinkedInTemplate`.
  
  To create an instance of `LinkedInTemplate`, you may pass in your application's OAuth 2 access token to the constructor:
  
  ```java
  String accessToken = "..."; // The access token granted after OAuth authorization
  LinkedIn linkedin = new LinkedInTemplate(accessToken);
  ```
  
  If you are using Spring Social's
  http://docs.spring.io/spring-social/site/docs/1.1.0.RC1/reference/htmlsingle/index.html#connectFramework[service provider framework], you can get an instance of `LinkedIn` from a `Connection`. For example, the following snippet calls `getApi()` on a connection to retrieve a `LinkedIn`:
  
  ```java
  Connection<LinkedIn> connection = connectionRepository.findPrimaryConnection(LinkedIn.class);
  if (connection != null) {
      LinkedIn linkedin = connection.getApi();
  
      // ... use LinkedIn API binding
  }
  ```
  
  Here, `ConnectionRepository` is being asked for the primary connection that the current user has with LinkedIn. 
  If a connection to LinkedIn is found, it retrieves a `LinkedIn` instance that is configured with the connection details received when the connection was first established.
  
  Once you have a `LinkedIn` instance, you can perform a several operations against LinkedIn's API. 
  The `LinkedIn` interface is defined as follows:
  
  ```java
  public interface LinkedIn extends ApiBinding {
  
    ConnectionOperations connectionOperations();
    
    NetworkUpdateOperations networkUpdateOperations();
    
    ProfileOperations profileOperations();
    
    CompanyOperations companyOperations();
    
    CommunicationOperations communicationOperations();
    
    JobOperations jobOperations();
    
    GroupOperations groupOperations();
    
    RestOperations restOperations();
    
  }
  ```
  
  Each method returns sub-APIs, partitioning the LinkedIn service API into divisions targeting specific facets of LinkedIn functionality. 
  These sub-APIs are defined by interfaces described in <<table_subApis>>.
  
  [[table_subApis]]
  .LinkedIn's Sub-APIs
  [options="header",]
  |=======================================================================
  |Sub-API Interface       |Description
  |ConnectionOperations    |Send and receive connection requests with other LinkedIn users.
  |NetworkUpdateOperations |Retrieve and perform network updates (status updates).
  |ProfileOperations       |Retrieve and update user profiles.
  |CompanyOperations       |Retrieve and update company profiles.
  |CommunicationOperations |Send messages.
  |JobOperations           |Search, retrieve and bookmark job opportunities.
  |GroupOperations         |Work with LinkedIn groups.
  |=======================================================================
  
  In addition to the LinkedIn-specific sub-APIs described in table <<table_subApis>>, `LinkedIn` also has a `restOperations()` method that returns a `RestOperations` (e.g., `RestTemplate`).
  The `RestOperations` returned is instrumented to add an OAuth `Authorization` header for all requests it sends to LinkedIn.
  
  What follows is a brief survey of common tasks you may perform with LinkedIn and its sub-APIs. 
  For complete details on the Spring Social's entire LinkedIn API binding, refer to the JavaDoc.
  
  [[]]
  === Retrieving a user's LinkedIn profile data
  To retrieve the authenticated user's profile data, call the `getUserProfile()` method from the `ProfileOperations` interface:
  
  ```java
  LinkedInProfile profile = linkedin.profileOperations().getUserProfile();
  ```
  
  The data returned in the `LinkedInProfile` includes the user's LinkedIn ID, first and last names, their "headline", the industry they're in, and URLs for the public and standard profile pages.
  
  If it's only the user's LinkedIn ID you need, then you can get that by calling the `getProfileId()` method:
  
  ```java
  String profileId = linkedin.profileOperations().getProfileId();
  ```
  
  Or if you only need a URL for the user's public profile page, call `getProfileUrl()`:
  
  ```java
  String profileUrl = linkedin.profileOperations().getProfileUrl();
  ```
  
  [[]]
  === Getting a user's LinkedIn connections
  To retrieve a list of LinkedIn users to whom the user is connected, call the `ConnectionOperations#getConnections()` method:
  
  ```java
  List<LinkedInProfile> connections = linkedin.connectionOperations().getConnections();
  ```
  
  This will return a list of `LinkedInProfile` objects for the user's 1st-degree network (those LinkedIn users to whom the user is directly linked--not their extended network).
  
  
negative.code: = Spring Social VKontakte Reference
  Viktor Kolodrevskiy
  
  The Spring Social VKontakte project is an extension to
  http://www.springframework.org/spring-social[Spring Social] that enables
  integration with VKontakte.
  
  == Introduction
  http://www.vk.com[VKontakte] is the largest European online social networking service, based in Russia. It is available in several languages, and is especially popular among Russian-speaking users. VK allows users to message each other publicly or privately, to create groups, public pages and events, share and tag images, audio and video, and to play browser-based games.
  
  Spring Social VKontakte enables integration with VKontakte with
  `VKontakteConnectionFactory`, a connection factory that can be plugged into
  Spring Social's service provider connection framework, and with an API
  binding to VKontakte's REST API.
  
  [[]]
  === How to get
  
  The following Gradle dependency will add Spring Social VKontakte to your
  project:
  
  .build.gradle
  [source,groovy,subs="attributes,verbatim"]
  ----
  compile "org.springframework.social:spring-social-vkontakte:{spring-social-vkontakte-version}"
  ----
  
  Or in Maven:
  