本文介绍了FacebookDisplayName用于什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我们目前正在更改使用Facebook SDK进行登录的应用程序的名称(实际上没有其他内容),这意味着对于未更新的用户,Facebook应用程序的名称将与 FacebookDisplayName 。We are currently changing the name of an app that is using the Facebook SDK for sign-in (and nothing else really), which means that for non-updated users the name of the Facebook app will not match the value of FacebookDisplayName.在我测试期间,我发现 FacebookDisplayName 不正确,有没有人知道它实际用于什么?During my testing I cannot find any impact on the value of FacebookDisplayName being incorrect, does anyone know what it is actually used for?推荐答案你的脸书应用程序是由应用ID。 FacebookDisplayName 只是一个文本标识符。您可以在运行时更改它,而不是像文档:Your facebook app is uniquely defined by the app ID. The FacebookDisplayName is just a textual identifier. You can change it at run time, than you can get it like shown in the documentation:defaultDisplayName//Get the default Facebook Display Name used by the SDK. If not explicitly set, the default will be read from the application's plist.+ (NSString *) defaultDisplayName;//Declared In: FBSettings.h无论如何,旧版本Facebook SDK:Anyway, on older versions of Facebook SDK: Facebook SDK 3.5要求开发人员在关键FacebookDisplayName下的应用程序的.plist中设置Facebook应用程序名称。此密钥的值必须与Facebook devapp中设置下的显示名称字段的值完全匹配。Facebook SDK 3.5 requires that developers set the Facebook app name in the app's .plist under the key FacebookDisplayName. The value of this key must be an exact match to the value of the Display Name field under Settings in the Facebook devapp. 这篇关于FacebookDisplayName用于什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 09-03 07:21