我正在使用linkedin-j.jar获取LinkedIn Profile使用getProfileById method,但我无法获取来自getConnection()方法的连接,它始终是return null.
谁能帮我解决这个问题,下面是代码片段
Set<ProfileField> connectionFields = EnumSet.of(ProfileField.FIRST_NAME, ProfileField.LAST_NAME,ProfileField.CONNECTIONS)
Person person = client.methgetProfileById("id",connectionFields);
Connections conn = person.getConnections();
conn 变量为空。
我也想知道,为什么它会为空。