我正在尝试发送邀请,所以首先我寻找使用这个的人:
Person profile = client.getProfileById(getThirdSocial("linkedin"));
然后我得到这个人并调用方法:
client.sendInviteToPerson(recepient, subject, message);
但我得到一个例外:
1-11 11:34:40.578: W/System.err(2697): java.lang.IllegalArgumentException?: recepient api request cannot be null.
接收者不为空,因为我可以打印出此人的一些详细信息。所以我不知道该怎么办,请帮忙。