org.springframework.social.linkedin.api
Interface LinkedInApi

All Known Implementing Classes:
LinkedInTemplate

public interface LinkedInApi

Interface specifying a basic set of operations for interacting with LinkedIn. Implemented by LinkedInTemplate.

Many of the methods contained in this interface require OAuth authentication with LinkedIn. When a method's description speaks of the "current user", it is referring to the user for whom the access token has been issued.


Method Summary
 java.util.List<LinkedInProfile> getConnections()
          Retrieves the 1st-degree connections from the current user's network.
 java.lang.String getProfileId()
          Retrieves the user's LinkedIn profile ID.
 java.lang.String getProfileUrl()
          Retrieves a URL to the user's public profile page.
 LinkedInProfile getUserProfile()
          Retrieves the current user's profile details.
 

Method Detail

getProfileId

java.lang.String getProfileId()
Retrieves the user's LinkedIn profile ID.

Returns:
the user's LinkedIn profile ID.

getProfileUrl

java.lang.String getProfileUrl()
Retrieves a URL to the user's public profile page.

Returns:
a URL to the user's public profile page.

getUserProfile

LinkedInProfile getUserProfile()
Retrieves the current user's profile details.

Returns:
the user's profile data.

getConnections

java.util.List<LinkedInProfile> getConnections()
Retrieves the 1st-degree connections from the current user's network.

Returns:
the user's connections