Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is FacebookDisplayName used for?

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.

During my testing I cannot find any impact on the value of FacebookDisplayName being incorrect, does anyone know what it is actually used for?

like image 588
Stefan Fisk Avatar asked Jul 28 '15 14:07

Stefan Fisk


1 Answers

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

Anyway, on older versions of Facebook SDK:

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.

like image 105
Luca Angioloni Avatar answered Oct 06 '22 00:10

Luca Angioloni