简体   繁体   English

在设备上安装FB Native App时无法授权使用Facebook ios sdk v3

[英]unable to authorize using Facebook ios sdk v3 when FB Native App is installed in the device

Hi Guys I am having a problem with the Facebook ios SDK 3.0.6 beta . 嗨,大家好我在Facebook ios SDK 3.0.6 beta中遇到问题。 I have created a Project using this Facebook SDK and was working ok till the Facebook native iPhone App was not installed. 我已经使用此Facebook SDK创建了一个项目,并且在未安装Facebook本机iPhone App之前可以正常工作。 When I installed the Facebook App I can no longer authorize my App. 安装Facebook App后,我将无法再授权我的App。 When I try to authorize, the authorization is done in the Facebook's native app instead of Safari. 当我尝试授权时,授权是在Facebook的本机应用程序而非Safari中完成的。 I get an error "The operation couldn't be completed.(com.facebook.FBiOSSDK error 2.)" 我收到错误消息“操作无法完成。(com.facebook.FBiOSSDK错误2。)”

I am also receiving this error url: 我也收到以下错误网址:

fb4* * *2://authorize#error_description=Invalid%2BIOS%2Bbundle%2BID&error=unknown%5Ferror fb4 * * * 2:// authorize#error_description =无效%2BIOS%2Bbundle%2BID&error =未知%5Ferror

How can I solve this problem? 我怎么解决这个问题? any idea? 任何想法?

I am using xcode 4.2 in OSX Snow Leopard 我在OSX Snow Leopard中使用xcode 4.2

It sounds like your settings under developer.facebook.com for the app is incorrect. 听起来您在developer.facebook.com下针对该应用的设置不正确。

Make sure that under your app settings that; 确保在您的应用设置下;

"iOS bundle ID" under "Native iOS App" is set to your apps package name. 将“本机iOS应用程序”下的“ iOS捆绑包ID”设置为您的应用程序包名称。 That way the native app know which app to redirect back to once auth is complete. 这样,本机应用程序将在身份验证完成后知道重定向回哪个应用程序。

I have the same problem like you, I double check my iOS Bundle ID as Pork said and found a missed letter, after fixing it works ok. 我遇到了与您相同的问题,我按照Pork的说明再次检查了我的iOS捆绑软件ID,并在修复正常后找到了丢失的字母。 So, check your iOS Bundle ID in your Facebook app settings for Native iOS App is 'exactly' the same as in your Bundle identifier defined in XCode for your target app. 因此,请在您的本机iOS应用程序的Facebook应用程序设置中检查您的iOS捆绑包ID是否与在XCode中为目标应用程序定义的捆绑包标识符“完全相同”。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 iOS 7 FB SDK,使用本机应用程序将用户验证为FB - iOS 7 FB SDK, Authenticating User Into FB Using Native App 如果安装了Facebook应用,iOS Facebook授权失败 - iOS Facebook Authorize failing if Facebook app is installed Ti.Facebook没有安装FB应用程序打开授权 - Ti.Facebook doesn't open authorize with FB app installed 如何在IOS中使用FB SDK创建Facebook应用广告 - How to Create Facebook App Ads Using FB SDK in IOS IOS中的Facebook登录可以在模拟器上运行,但不能在安装了本机应用程序的设备上运行 - Facebook login in IOS works on emulator but not on device with native app installed 安装Facebook应用程序的Facebook SDK iOS登录 - Facebook SDK iOS login with Facebook app installed Facebook SDK 4.0 iOS不再快速切换到设备上安装的Facebook APP - Facebook SDK 4.0 iOS no longer fast switches to the Facebook APP installed on the device 在设备上运行应用程序时,iOS Facebook SDK“用户取消登录”? - iOS Facebook SDK “user cancelled login” when running app on device? Facebook在Z1BDF60599191919191919191919191CBDF8508204C4EBZ中通过Z26CAE7718C3218018019D6D6D4019D4019D4019D4019D4019D4019D4019D4019D4019D4019D19D4019D4019D19D19D19D19D20DB10C4NEC4EBZ登录失败 - Facebook sign-in in iOS fails when sign in through facebook app, it's working if the facebook app not installed in the device 当用户安装了FB应用程序时,iOS Facebook连接无法正常工作? - iOS Facebook connect not working when user has FB's app installed?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM