this.linkedIn = linkedIn;
}
@RequestMapping(value="/linkedin/connections", method=RequestMethod.GET)
public String connections(Model model) {
NetworkStatistics statistics = linkedIn.connectionOperations().getNetworkStatistics();
model.addAttribute("firstDegreeCount", statistics.getFirstDegreeCount());
model.addAttribute("secondDegreeCount", statistics.getSecondDegreeCount());
model.addAttribute("connections", linkedIn.connectionOperations().getConnections());
return "linkedin/connections";
}