7
Używam następujący fragment kodu, aby uzyskać userdetail, ale coraz Id zerowy od profile.getId()LinkedIn Id coraz null dla android
@Override
protected void onNewIntent(Intent intent) {
String verifier = intent.getData().getQueryParameter("oauth_verifier");
LinkedInAccessToken accessToken = oAuthService.getOAuthAccessToken(
liToken, verifier);
client = factory.createLinkedInApiClient(accessToken);
client.postNetworkUpdate("LinkedIn Android app test");
Person profile = client.getProfileForCurrentUser();
System.out.println("PersonID : " + profile.getId());
System.out.println("Name : " + profile.getFirstName() + " "
+ profile.getLastName());
}
proszę dać mi jakieś sugestie do niego dostać.
Jak uzyskać obraz profil dla połączone w użytkownikowi ? – Kirthiga