[英]Failed to fetch full profile details from LinkedIn API
I tried to fetch full profile details from LinkedIn API. 我试图从LinkedIn API中获取完整的个人资料详细信息。 I referred a sample app also.
我还介绍了一个示例应用程序。 In my app I tried,
在我的应用中,我尝试过
[LISDKSessionManager createSessionWithAuth:[NSArray arrayWithObjects:LISDK_FULL_PROFILE_PERMISSION, LISDK_EMAILADDRESS_PERMISSION, nil] state:nil showGoToAppStoreDialog:YES successBlock:^(NSString *returnState) {
[self.delegate didSuccessfullyLogIntoLinkedIn];
} errorBlock:^(NSError *error) {
[self.delegate fetchingFailedWithError:error];
}];
This code gives me an error 这段代码给我一个错误
The operation couldn't be completed.
该操作无法完成。 (LISDKAuthError error 5.)
(LISDKAuthError错误5。)
But in the sample app which is provided by the LinkedIn, This same code is working. 但是在LinkedIn提供的示例应用程序中,此相同的代码正在运行。 I went through my app authentications.
我通过了我的应用程序身份验证。 It has only following fields.
它仅具有以下字段。 I think the problem is, In this list there is no
r_fullprofile
field. 我认为问题是,在此列表中没有
r_fullprofile
字段。
Is this the problem? 这是问题吗? Is it possible to add
r_fullprofile
field to this list? 是否可以将
r_fullprofile
字段添加到此列表?
Although basic access gives you only 4 fields, an answer is "Yes, it is possible". 尽管基本访问只给您4个字段,但答案是“是,有可能”。 If you subscribe to LinkedIN Partnership Programs .
如果您订阅LinkedIN合作伙伴计划 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.