Facebook과 연동을 진행하는 앱을 만들고 있습니다.
구현과정에 아래와 같은 문제가 발생하여 애를 먹고 있습니다.
NSArray *permissions = [[NSArray alloc] initWithObjects:
@"email", @"public_profile", @"user_friends",
nil];
// Attempt to open the session. If the session is not open, show the user the Facebook login UX
[FBSession openActiveSessionWithReadPermissions:permissions
allowLoginUI:true
completionHandler:^(FBSession *session, FBSessionState status, NSError *error) {
// Did something go wrong during login? I.e. did the user cancel?
if (status == FBSessionStateClosedLoginFailed || status == FBSessionStateClosed || status == FBSessionStateCreatedOpening)
{
// If so, just send them round the loop again
[[FBSession activeSession] closeAndClearTokenInformation];
[FBSession setActiveSession:nil];
[self CreateNewSession];
}
else
{
}
}];
위의 소스대로 구현을 진행하면 facebook 로그인에 성공을 하는데
openActiveSessionWithReadPermissons에서 allowLoginUI를 false로 설정하면 로그인에 실패(아무런 응답도 하지 않습니다)가 합니다.
왜 그러는지...
고수님들의 도움이 필요합니다.
더어플
2015-02-02 (월) 15:14:48
질문 채택된 게시물 입니다.
|
||||
결벽지존
2015-02-02 (월) 13:52:51
더어플에선 없을듯하군요ㅠ
|
||||
™소희
2015-02-02 (월) 03:18:55
어플 압축푸시고 틱톡 sinbi2768
보내시믄 제가 보겠습니다.
|
||||
dasdads
2015-01-31 (토) 00:16:34
도움이 안 되서 지송...
|
||||
ektlgksqjs
2015-01-30 (금) 21:38:05
이 질문은 실력이 있는 고수분만 풀수있는 문제 같네요. 하수는 아무리 봐도 뭔지를 모르겠네요. |
||||
나는농사꾼
2015-01-29 (목) 22:06:48
쭈욱 봐왔지만..게시자님보다..고수분은 몇몇 안되는줄 압니다.,부디 해결 방안을 찾으시길....
|
||||
위문서 내용을 확인해보세요~^^