本机 iOS 应用程序:我在“设置”、“基本”下的 Facebook 开发人员“iPhone App Store ID”中输入什么?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/7746019/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-30 21:50:21  来源:igfitidea点击:

Native iOS app: What do I put in Facebook's developer "iPhone App Store ID" under Settings, Basic?

iosfacebookfacebook-ios-sdk

提问by Greg M. Krsak

I'm about finished with a native iPhone app, but I need to finish SSO via Facebook. Despite my best effort, I am unable to figure-out what value is supposed to go in the "iPhone App Store ID" field during the process where I register my app with Facebook on their website.

我即将完成本机 iPhone 应用程序,但我需要通过 Facebook 完成 SSO。尽管我尽了最大的努力,但在我在 Facebook 的网站上注册我的应用程序的过程中,我无法弄清楚“iPhone App Store ID”字段中应该包含什么值。

I have an "App ID" at http://developer.apple.com/ios/manage/bundles/, but Facebook gives me the error "iPhone App Store ID must be an integer" when I put my App ID in that field. My App ID is not an integer.

我在http://developer.apple.com/ios/manage/bundles/ 上有一个“App ID” ,但是当我将我的 App ID 放入该字段时,Facebook 给了我错误“iPhone App Store ID 必须是整数” . 我的 App ID 不是整数。

I know Facebook specifically labels the field with "App Store"; please tell me that isn't really the case, since... how would anyone have something on the "App Store" if it's still in development?

我知道 Facebook 专门用“App Store”标记了该领域;请告诉我事实并非如此,因为......如果“App Store”仍在开发中,那么任何人怎么会有东西?

Everyone has "that issue" that motivates their first Stack Overflow post, and this is mine. I eagerly await news that I'm missing something.

每个人都有“那个问题”,这激发了他们的第一个 Stack Overflow 帖子,这是我的。我急切地等待着我错过了什么的消息。

回答by Mark Granoff

Create a new app in iTunes Connect. That app will have a unique app id. That'sthe id they want. That is, in fact, the App Store id for the app.

在 iTunes Connect 中创建一个新应用程序。该应用程序将具有唯一的应用程序 ID。这就是他们想要的ID。也就是说,事实上,应用程序的 App Store id。

回答by CVertex

The accepted answer is true, but the iOS SDKdocs also say

接受的答案是正确的,但iOS SDK文档也说

iPhone App Store ID - If you have an iPhone app that is listed in the iTunes App Store enter the ID here, e.g. 123456. If Facebook links out to your app and finds that the user does not have your app installed, then it will take the user to your app in the store. The user can then install your app. If your app is not in the iTunes App Store you can enter any valid app's IDbut be sure to update this when your app is approved in the App Store.

iPhone App Store ID - 如果您有一个在 iTunes App Store 中列出的 iPhone 应用程序,请在此处输入 ID,例如 123456。如果 Facebook 链接到您的应用程序并发现用户没有安装您的应用程序,那么它将需要用户在商店中访问您的应用程序。然后用户可以安装您的应用程序。如果您的应用程序不在 iTunes App Store 中,您可以 输入任何有效的应用程序 ID,但请确保在您的应用程序在 App Store 中获得批准时更新此ID

Emphasis mine.

强调我的。

This is what I did. I use an existing public app ID (picked one at random from the store) because my app isn't out yet..

这就是我所做的。我使用现有的公共应用程序 ID(从商店中随机挑选一个),因为我的应用程序尚未发布。

回答by IOSProgrammer

Right now, the simplest solution is to just type in "0" as iPhone App Store ID - a solution which is also demonstrated in the Facebook SDK Getting Started Guide: https://developers.facebook.com/docs/getting-started/facebook-sdk-for-ios/3.1/

现在,最简单的解决方案是输入“0”作为 iPhone App Store ID - Facebook SDK 入门指南中也演示了该解决方案:https: //developers.facebook.com/docs/getting-started/ facebook-sdk-for-ios/3.1/

回答by Zaid Pathan

For testing use 0(Zero),

对于测试使用0(Zero)

  • iPhone Store ID = 0
  • iPad Store ID = 0
  • iPhone 商店 ID = 0
  • iPad 商店 ID = 0

and click on Save Changes.

并点击Save Changes

0Will be disappeared but your work will be done.

0将消失,但您的工作将完成。

Note:- update this id before going live.

注意:- 在上线之前更新此 ID。

回答by N0mi

For already published apps, it is part of itunes url appearing at the end https://itunes.apple.com/.../idxyzabc123xyzabc123 is the id for above url

对于已发布的应用程序,它是出现在末尾的 iTunes 网址的一部分 https://itunes.apple.com/.../idxyzabc123xyzabc123 是上述网址的 ID

回答by FreePender

Long story short, you can use "0" for development.

长话短说,您可以使用“0”进行开发。

If you login to iTunes Connect and visit your app, it should be under "Apple Id".

如果您登录 iTunes Connect 并访问您的应用程序,它应该位于“Apple Id”下。