简体   繁体   English

测试Facebook Native iOS App

[英]Testing Facebook Native iOS App

I would like to integrate Facebook into an iOS application I am building, however it seems there is no way to set up a Facebook 'Native iOS Application' with an iOS application that is not already published and available in the App Store. 我想将Facebook集成到我正在构建的iOS应用程序中,但是似乎无法用尚未在App Store中发布并可用的iOS应用程序设置Facebook“本机iOS应用程序”。

When I Set up a Native iOS Application for my Facebook App from my Facebook developer's account it requires that I fill in my App Store ID. 当我从我的Facebook开发人员帐户为我的Facebook应用程序设置本机iOS应用程序时,它要求我填写我的App Store ID。 However when I submit I get the following error message: 但是,当我提交时,出现以下错误消息:

Your iPhone App Store ID is invalid because the iTunes App Store reports your app as being unavailable for iPhone and iPod touch. 您的iPhone App Store ID无效,因为iTunes App Store报告您的应用程序不适用于iPhone和iPod touch。

I have set up my application on iTunes Connect, but I have not submitted my binary yet as I am in the process of building it, so I assume that this message is due to it being unavailable on the App Store. 我已经在iTunes Connect上设置了我的应用程序,但是由于我正在构建二进制文件,因此我尚未提交二进制文件,因此我认为此消息是由于在App Store中不可用。

This seems like a catch 22 situation. 这似乎是一个陷阱22的情况。 I can't test my app until its in the App Store but I can't get my app in the AppStore until I have tested (and built) it. 我无法在App Store中测试我的应用程序,但是直到我测试(并构建)该应用程序后才能在AppStore中获取该应用程序。 How can I test my iOS application with Facebook before release? 发布前如何在Facebook上测试我的iOS应用程序?

I've been there, but the solutions is simple. 我去过那里,但是解决方案很简单。

Don't fill out the Facebook 'Native iOS Application'! 不要填写Facebook的“本地iOS应用程序”! For testing all you needed is the Facebook appid. 要测试所有您需要的是Facebook appid。

Later on in the Deep Linking portion of the iOS Facebook Tutorial, it also mentions the AppStore ID and that you can use somebody else's ID temporarily to get all the data to save. 稍后,在iOS Facebook教程的“深层链接”部分中,它还提到了AppStore ID,您可以临时使用别人的ID来保存所有数据。 They just say to make sure you use your own id when you finally do publish the app. 他们只是说要确保在最终发布应用程序时使用自己的ID。

I dont think facebook Native iOS App settings are necessary. 我认为Facebook Native iOS App设置不是必需的。 I have done facebook login with it in two of my apps and without it in one of my app and all are running well. 我已经在我的两个应用程序中用它完成了facebook登录,而在我的一个应用程序中却没有使用它登录,并且一切运行良好。 Here are workaround by me: Native iOS Facebook SSO won't return to app 这是我的解决方法:本机iOS Facebook SSO无法返回到应用程序

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

相关问题 在 iOS 上通过本机 Facebook 应用程序打开 Facebook 链接 - Open a facebook link by native Facebook app on iOS iOS中的本机Facebook应用程序登录状态 - Native facebook app log in status in iOS 将应用程序与本机Facebook iOS集成,而无需使用iOS应用程序 - integrate app with native facebook iOS without using an iOS app 将“本地ios应用”字段保留为空白时,Facebook应用错误 - Facebook app error when leaving “native ios app” field blank 在一部手机上测试Native iOS应用程序可以正常工作,但在另一部手机上崩溃吗? - Testing Native iOS app on one phone works, but crashes on another phone? IOS中的Facebook登录可以在模拟器上运行,但不能在安装了本机应用程序的设备上运行 - Facebook login in IOS works on emulator but not on device with native app installed Facebook请求对话框:本机iOS应用程序中的无摩擦请求可能吗? - Facebook Requests Dialog: Frictionless Requests in native iOS app possible? 直接链接到本机Facebook App(iOS6)中的Page - Direct linking to Page in native Facebook App (iOS6) 通过Facebook为本地iOS应用发送带有对话框的个人邀请 - send individual invite with dialog for Native iOS app via Facebook 通过Native iOS App向Facebook用户发送个人消息 - Send personal messages to facebook user by Native iOS App
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM