0

アクセス トークンとシークレットを取得したら、プロファイルとの接続を取得したいアカウントにアクセスします。

Connections cc = client.getConnectionsForCurrentUser();

for(Person p :cc.getPersonList()) {
    System.out.println(p.getLastName());
    System.out.println("Industry      "+p.getIndustry());
    System.out.println("currentStatus "+p.getCurrentStatus());
    System.out.println("link          "+p.getPublicProfileUrl());
    System.out.println("position      "+p.getEducations());
    System.out.println();
}

しかし、取得するフィールドのほとんどは null です。どこが間違っていたのかわからない、誰か助けてくれる?

4

1 に答える 1

0

Connection が要求している情報を提供していない場合、そのフィールドの結果は実際には null になります。ファーストネーム、ラストネームなど、接続に関する情報を取得できますか?

于 2011-02-01T04:18:05.210 に答える