Link을 사용했지만 그 오류가 있습니다. 메시지. 이유를 알 수 없습니다. 내가 원했던 것은 facebook 앱을 설치하지 않고 iPad에서 로컬 이미지를 공유하기 위해 단추 하나만 클릭하면됩니다. 사용자가 버튼을 클릭하고 로그인/비밀번호를 입력하고 게시하도록하면됩니다. AppDelegate에의iOS : -canOpenURL : URL에 실패 : "fbauth2 : /"- 오류 : "작업을 완료하지 못했습니다 (OSStatus 오류 -10814)."시뮬레이터 및 장치
UIImage *image = [UIImage imageNamed:@"..."];
FBSDKSharePhoto *photo = [[FBSDKSharePhoto alloc] init];
photo.image = image;
photo.userGenerated = YES;
FBSDKSharePhotoContent *content = [[FBSDKSharePhotoContent alloc] init];
content.photos = @[photo];
의 OpenURL 방법 : 라인에 문제가
- (BOOL) application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options
{
NSLog(@"url recieved: %@", url);
NSLog(@"query string: %@", [url query]);
NSLog(@"host: %@", [url host]);
NSLog(@"url path: %@", [url path]);
return YES;
}
가 나는 정확한 것을 : (콘솔에 다른 메시지 오류를 수행
[[FBSDKApplicationDelegate sharedInstance] application:application
didFinishLaunchingWithOptions:launchOptions];
시뮬레이터) :
로딩 액세스 t로 폴백
작업 : 때문에 시뮬레이터 버그 NSUserDefaults에 액세스 토큰을 저장하는 폴백 때문에 시뮬레이터 버그 NSUserDefaults
에서 oken는탄트는 콘솔 (장치)는 다른 메시지가 오류를 수행. 오류 완료 < 1> - 코드 : 사전에
<key>CFBundleURLTypes</key> <array> <dict> <key>CFBundleURLSchemes</key> <array> <string>fb2000xxxxxxxxxxx</string> </array> <key>CFBundleTypeRole</key> <string>Editor</string> <key>CFBundleURLName</key> <string>com.newTelApps.WebBoxEssaisPresse</string> </dict> </array> <key>FacebookAppID</key> <string>2000xxxxxxxxxxx</string> <key>FacebookDisplayName</key> <string>WebBox</string> <key>LSApplicationQueriesSchemes</key> <array> <string>fbapi</string> <string>fb-messenger-api</string> <string>fbauth2</string> <string>fbshareextension</string> <string>fbapi</string> <string>twitter</string> <string>facebook</string> <string>fbapi</string> <string>fbapi20130214</string> <string>fbapi20130410</string> <string>fbapi20130702</string> <string>fbapi20131010</string> <string>fbapi20131219</string> <string>fbapi20140410</string> <string>fbapi20140116</string> <string>fbapi20150313</string> <string>fbapi20150629</string> <string>fbauth</string> <string>fb-messenger-api20140430</string> </array>
감사 : 정보에 대한 -1001
, 여기 내 PLIST 키입니다.
는 예를 들어 https://stackoverflow.com/questions/46319937/canopenurl-failed이 참조 추가, 변경 -for-url-fbauth2-osstatus-error-10814/46321192 # 46321192 –
AppDelegate에 openURL 메서드를 추가 했습니까? – Raj
@ Anbu.Karthik 시도했지만 동일한 오류가 발생합니다. – Claudio