I have implemented linkedin-sdk for login process. Created key on developer account. Following is the code:
[LISDKSessionManager createSessionWithAuth:permissions state:nil showGoToAppStoreDialog:YES successBlock:^(NSString *returnState){
NSLog(@"%s","success called!");
LISDKSession *session = [[LISDKSessionManager sharedInstance] session];
NSLog(@"Session : %@", session.description);
}];
} errorBlock:^(NSError *error) {
NSLog(@"Error called : %@", error);
}];
It goes to Linkedin app but when it comes back to app, showing invalid session. Unable to find the reason. Wasted number of hours. Help me if someone has understanding about this error.
Thanks!
from Login with Linkedin SDK iOS
0 komentar:
Posting Komentar