I am trying to send Linkedin Invitation from Android app. (I am having all permissions including Send invitation or Message(w_message)). I can send message successfully but I can't send Invitation.
I am preparing CommunicationsApiClient object named com_cliClient and tried to send the invitation either by Person or by Id.. I am not getting any error in calling below methods but the invitation is not being sent.
Some piece of code:
com_cliClient.sendInviteToPerson(p2, "hello", "Invitation...");
com_cliClient.sendInviteById(id, "hello","Invitation",authHeader);
I am using linkedin-j-android.jar for Android Application.