精简版和专业版应用程序使用相同的Facebook密钥 [英] Same facebook key for lite and pro apps

查看:71
本文介绍了精简版和专业版应用程序使用相同的Facebook密钥的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有Iphone应用程序的精简版和专业版,但我的精简版应用程序被appstore拒绝,它们无法通过Facebook登录.但是在开发模式下,我可以通过FB登录专业版和精简版.

I have a lite and pro version of my Iphone app, but my lite app rejected by appstore ,they cannot login through facebook. But in development mode i can able to login both pro and lite version through FB.

我为lite和pro使用了相同的FB开发人员密钥.
这是拒绝的问题吗?
如果我需要为同一应用程序的精简版和专业版使用不同的开发人员密钥?

I have used same FB developer key for both lite and pro.
Is this the issue for rejection?
If i need to use different developer key for lite and pro version of same app?

谢谢

推荐答案

请检查此

Please check this SO post. It may help you.

urlSchemeSuffix是一串小写字母,附加到用于SSO的基本URL方案中.例如,如果您的Facebook ID为"350685531728",并且您将urlSchemeSuffix设置为"abcd",则Facebook应用程序将期望您的应用程序绑定到以下URL方案:"fb350685531728abcd".如果您有多个共享一个Facebook应用程序ID的iOS应用程序(例如,如果您在同一应用程序上有免费版和付费版),并且想同时在两个应用程序上使用SSO,则此功能很有用.为两个应用程序提供不同的urlSchemeSuffix值将允许Facebook应用程序消除其URL方案的歧义,并始终将用户重定向回正确的应用程序,即使免费和应用程序均已安装在设备上也是如此.

urlSchemeSuffix在Facebook应用程序的3.4.1及更高版本中受支持.如果用户安装了较旧版本的Facebook应用程序,并且您的应用程序使用urlSchemeSuffix参数,则SDK会继续运行,就像设备上未安装Facebook应用程序一样,并将用户重定向到Safari.

urlSchemeSuffix is a string of lowercase letters that is appended to the base URL scheme used for SSO. For example, if your facebook ID is "350685531728" and you set urlSchemeSuffix to "abcd", the Facebook app will expect your application to bind to the following URL scheme: "fb350685531728abcd". This is useful if your have multiple iOS applications that share a single Facebook application id (for example, if you have a free and a paid version on the same app) and you want to use SSO with both apps. Giving both apps different urlSchemeSuffix values will allow the Facebook app to disambiguate their URL schemes and always redirect the user back to the correct app, even if both the free and the app is installed on the device.

urlSchemeSuffix is supported on version 3.4.1 and above of the Facebook app. If the user has an older version of the Facebook app installed and your app uses urlSchemeSuffix parameter, the SDK will proceed as if the Facebook app isn't installed on the device and redirect the user to Safari.

您还可以参考这篇文章,它可以帮助您了解前缀如何与Facebook一起使用.

You can also refer this so post which helps you to understand how prefix works with Facebook.

这篇关于精简版和专业版应用程序使用相同的Facebook密钥的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆