简体   繁体   English

iOS应用配置错误,无法与Facebook集成

[英]iOS app misconfigured for Facebook integration

I am using the facebook-iphone-sdk framework to integrate my iPhone app to FB. 我正在使用facebook-iphone-sdk框架将我的iPhone应用程序集成到FB。 The problem is when I click the button it gives an error "The application you are using is misconfigured for the Facebook integration. Please download the latest version of the app." 问题是,当我单击该按钮时,出现错误“您正在使用的应用程序配置错误,无法进行Facebook集成。请下载该应用程序的最新版本。”

I was able to connect with FB only once. 我只能与FB连接一次。 For the first time it worked fine and I was also able to post some data into my wall but afterwords it not working, and the above error occurs. 这是第一次工作正常,我也能够将一些数据发布到我的墙上,但后记它却无法正常工作,并且发生了上述错误。

What could I be doing wrong? 我可能做错了什么?

The Bundle ID is case sensitive so watch out for that. Bundle ID区分大小写,因此请注意这一点。

eg com.myapp.MyApp is not the same as com.myapp.myapp 例如com.myapp.MyApp与com.myapp.myapp不同

This happened to me and gave the same error message. 这发生在我身上,并给出了相同的错误消息。

May be you are using the deprecated API of facebook... Please use the New FBGraph API for facebook integration .... 可能是您使用了不赞成使用的Facebook API ...请使用新的FBGraph API进行Facebook集成...。

How to share or post by mail, twitter and facebook from the current application? 如何通过当前应用程序通过邮件,Twitter和Facebook分享或发布信息?

This is not only about email... here you will find the tutorial and sample code for facebook integration.....!! 这不仅与电子邮件有关...在这里,您将找到用于Facebook集成的教程和示例代码。

Possible Solutions: 可能的解决方案:

1) Double Check that you are putting in the right facebook app id in your code, and that you didnt somehow overwrite that when you made it work the first time. 1)再次检查您是否在代码中输入了正确的Facebook应用ID,并且在首次使用时未以某种方式覆盖它。

2) Check that in the facebook developer profile you have all the proper things set up (They have decent doc's for how to set up properly). 2)检查在Facebook开发人员资料中,您是否已设置所有正确的内容(他们是否有正确设置的体面文档)。

3) Check that you are using the most up to date version of the SDK for fb. 3)检查您是否正在使用最新的fb SDK版本。

4) Consider using the built-in Facebook for iOS6, since you probably wont be releasing your app before iOS 6 comes out anyways. 4)考虑使用iOS6内置的Facebook,因为您可能不会在iOS 6发行之前就发布您的应用程序。

5) If all else fails, start over and go through the instructions from beginning to end. 5)如果其他所有方法均失败,请重新开始并按照说明进行操作。 Check and re-check everything you set up and carefully scan for little typos or something. 检查并重新检查您设置的所有内容,并仔细扫描是否有错别字或其他内容。 It's probably a minor mistake somewhere that you're overlooking. 您可能忽略了某个地方的小错误。

6) Post code if you want more specific help. 6)如果您需要更具体的帮助,请输入邮政编码。 An error message isnt enough to deduce what your problem is. 错误消息不足以推断出您的问题所在。

Just delete you app from facebook dashboard, create it again, and then change the facebookID in you App-Info.plist, in the key FacebookAppId and URL types array key. 只需从Facebook仪表板中删除您的应用程序,再次创建它,然后在App-Info.plist中的键FacebookAppId和URL types数组键中更改facebookID。 I did it and my app works fine. 我做到了,我的应用程序正常运行。

删除Facebook应用,强制在野生动物园中执行登录。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM