I am using Linked in API.I want to search my connections by using name. It is done
What my second thing is I need to get the searched users new connection
, get status update and provide status update
I am using linkedin-j jar file.
I get the overall connections new connection.
Network network = linkedin.getConnectionsNewConnectionNetwork(linkedinCrawlerWithOAuth.liClientWithAuth);
System.out.println("Total updates fetched:" + network.getUpdates().getTotal());
System.out.println("--------NetWork Updates ---------\n");
for(Update update:network.getUpdates().getUpdateList()){
Connections newConnection =linkedin.getConnectionsFromUpdateContent(linkedinCrawlerWithOAuth.liClientWithAuth,update.getUpdateContent());
for(Person person:newConnection.getPersonList()){
if(!( "private".equals(person.getId()) )){
printProfileDetails(linkedin.printProfileById(linkedinCrawlerWithOAuth.liClientWithAuth,person));
}
}
}
but i want to get the particular users new connection.Could you help me ?